Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2003 01:35:56 +0100
From:      Bruce M Simpson <bms@spc.org>
To:        Jeff Roberson <jroberson@chesapeake.net>
Cc:        "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: devd limitations / automounting removable storage
Message-ID:  <20030918003556.GA1025@saboteur.dek.spc.org>
In-Reply-To: <20030917201822.M55626-100000@mail.chesapeake.net>
References:  <20030917210236.GB75714@funkthat.com> <20030917201822.M55626-100000@mail.chesapeake.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 17, 2003 at 08:18:49PM -0400, Jeff Roberson wrote:
> On Wed, 17 Sep 2003, John-Mark Gurney wrote:
> > I was thinking about a more generic event posting mechanism, where
> > modules can register to receive notifications when events came in.
> 
> Please use kqueue.  We should have 1 eventing mechanism in the kernel.

Right now, the way devd/devctl works, it simply polls that device for changes.

Interesting. Are you suggesting we ditch /dev/devctl and define event
filters instead inside NEWBUS? Assuming kqueue can be made to play with
SMP and that we can push Giant out of it this might not be such a bad idea.

The routing daemon I've been working on (currently stalled due to other work)
uses kqueue for all network and system event dispatch. I'm very happy with
kqueue.

BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030918003556.GA1025>