From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 23 08:19:03 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 464CB16A4CE for ; Thu, 23 Sep 2004 08:19:03 +0000 (GMT) Received: from hotmail.com (bay1-f10.bay1.hotmail.com [65.54.245.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 316EE43D1F for ; Thu, 23 Sep 2004 08:19:03 +0000 (GMT) (envelope-from kylincsos@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 23 Sep 2004 01:19:02 -0700 Received: from 61.187.16.2 by by1fd.bay1.hotmail.msn.com with HTTP; Thu, 23 Sep 2004 08:18:14 GMT X-Originating-IP: [61.187.16.2] X-Originating-Email: [kylincsos@hotmail.com] X-Sender: kylincsos@hotmail.com From: "Gordon David" To: bzeeb-lists@lists.zabbadoz.net Date: Thu, 23 Sep 2004 08:18:14 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 23 Sep 2004 08:19:02.0733 (UTC) FILETIME=[FC15F7D0:01C4A145] cc: freebsd-hackers@freebsd.org Subject: Re: execute a user process in the kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 08:19:03 -0000 >From: "Bjoern A. Zeeb" >To: Gordon David >CC: freebsd-hackers@freebsd.org >Subject: Re: execute a user process in the kernel >Date: Thu, 23 Sep 2004 08:02:18 +0000 (UTC) > >On Thu, 23 Sep 2004, Gordon David wrote: > > > That's the point. I do not want the userland program to check /dev/fooctl > > from time to time. I want the kernel to notify the userland program > > instead. So how shall I do it? Maybe linker_load_file is a better way. > >man 2 kqueue ? Kqueue is a good method to notify the user. But I want the code in the kernel directly calls a user program. David >-- >Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT _________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com