Subject: Re: Importing kqueue's from FreeBSD...
To: Luke Mewburn <>
From: Jason R Thorpe <>
List: tech-kern
Date: 03/14/2001 21:13:52
On Thu, Mar 15, 2001 at 03:33:37PM +1100, Luke Mewburn wrote:

 > I'd like to bring these into -current, #ifdef-ed appropriatly, to
 > allow others to `bang' on the code as well.
 > Thoughts/comments?

Why #ifdef'd?

If we do get this, we should make select(2) and poll(2) use the same
underlying "event" notification mechanism, instead of the current
selinfo stuff.  It's pretty silly to have both.

kqueue, while being "generic", has no way to add filters, etc. without
modifying the API -- to add a constant representing the filter, event,
etc.  This is seriously broken and must be addressed if we're going to
call it "generic".

        -- Jason R. Thorpe <>