Messages in this thread | | | Date | Wed, 25 Oct 2000 16:35:12 -0500 | From | Jonathan Lemon <> | Subject | Re: kqueue microbenchmark results |
| |
On Wed, Oct 25, 2000 at 09:40:53PM +0200, Jamie Lokier wrote: > Simon Kirby wrote: > > And you'd need to take the descriptor out of the read() set in the > > select() case anyway, so I don't really see what's different. > > The difference is that taking a bit out of select()'s bitmap is > basically free. Whereas the equivalent with events is a bind_event() > system call.
With the caveat that kevent() will take a changelist at the same time that it returns an eventlist, so while you do incur some kernel processing to temporarily disable the descriptor, the system call is essentially free. -- Jonathan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |