From owner-freebsd-current Fri Sep 6 5:46:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DCB037B400 for ; Fri, 6 Sep 2002 05:46:50 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A40D43E65 for ; Fri, 6 Sep 2002 05:46:50 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0015.cvx21-bradley.dialup.earthlink.net ([209.179.192.15] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17nIVX-0005zB-00; Fri, 06 Sep 2002 05:46:44 -0700 Message-ID: <3D78A36B.B4D90ABF@mindspring.com> Date: Fri, 06 Sep 2002 05:45:31 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Martin Blapp Cc: current@freebsd.org Subject: Re: Fam and FreeBSD: we support polling mode only ? References: <20020906140720.E39212-100000@levais.imp.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Martin Blapp wrote: > We just noted that SGI's famd (the file alteration deamon) in BSD > does have to poll the devices, instead getting noticed by the kernel. > > How hard would it be to integrate kernel support for this > using kqueue ? It's there; you just have to register interest in the events. > A neat thing would be to emulate IRIX's /dev/imon ... As the kqueue paper points out, /dev/imon is less efficient that the kqueue equivalent. > Also see these posting ... > http://groups.google.com/groups?q=netbsd+imon&hl=en&lr=&ie=UTF-8&selm=20010315153337.A3926%40wasabisystems.com&rnum=2 This posting is about porting kqueue to NetBSD. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message