[lkml]   [2001]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kqueue, kevent - kernel event notification mechanism
> are there any plans to implement the kqueue, kevent system calls
> in the linux kernel?

Not that I know of

> It would be good for linux to implement event-driven i/o, if not
> by means of kqueue/kevent (BSD-ish interface) then at least in
> some other way.

The standards way is asynchronous io (aio_* interfaces). That is being
worked on

> the difference. The current i/o calls, select and poll, scan all
> open file descriptors for events, every call. This is clearly
> not scalable. Event driven means that the kernel never scans

The API isnt directly the problem. In fact you can make a fine scalable select
by implementing


as multiple calls giving basically the same interface that apps expected
anyway. Take a look at the various /dev/poll experimental interfaces and
bits of code.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:18    [W:0.045 / U:4.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site