Kernel events without kernel calls
Posted Mar 15, 2007 14:03 UTC (Thu) by
pphaneuf (guest, #23480)
In reply to:
Kernel events without kernel calls by corbet
Parent article:
Kernel events without kevents
And, as per that linked article, when events are consumed from the ring buffer, kevent_commit() (which I presume is a system call, "calling into the kernel"), has to be called "from time to time".
Some batching can be done, but this is very similar to the kind of batching that happens when calling epoll_wait() with a "maxevents" parameter bigger than one.
So, there's a system call at a similar frequency as epoll occuring. I'll grant you, there is some opportunity for less copying of the events structures, as I mentioned, but that's it.
(
Log in to post comments)