This week's version of the kevent interface
This week's version of the kevent interface
Posted Nov 9, 2006 13:38 UTC (Thu) by pphaneuf (guest, #23480)Parent article: This week's version of the kevent interface
Are the events put directly in the ring buffer, when using that mode? Or are they held in some other place, then copied there at kevent_wait time, like this article seems to imply?
If it is the latter, what is the difference (in performance or otherwise) between copying them at kevent_get_events time or copying them at kevent_wait time?
It seems to be to be just the same, with the ring buffer just having a starting point that "moves around" instead of copying at the beginning all the time. If anything, I wouldn't be surprised if copying at the beginning all the time would be better for cache footprint (and thus slightly faster)...