[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Notifications on kernel events

There were some threads here about a user program getting notified
when a particular file was read or some kernel level event happened.

FreeBSD's implementation of kqueue/kevent accomplishes that task:


There was discussion on the linux-kernel too, but Linus trashed
the kevent API as being too cumbersome.

[ Search "Linus kevent" in: http://www.deja.com/home_ps.shtml ]

The intent of the kevent API was to provide alternatives to select/poll,
both of which are inefficient (O(n) scans) for large number of