Thread (180 messages) 180 messages, 22 authors, 2006-08-22

Re: [RFC 1/4] kevent: core files.

From: Evgeniy Polyakov <hidden>
Date: 2006-07-31 10:51:17
Also in: lkml

On Mon, Jul 31, 2006 at 08:35:55PM +1000, Herbert Xu (herbert@gondor.apana.org.au) wrote:
Evgeniy Polyakov [off-list ref] wrote:
quoted
quoted
- if there is space, report it in the ring buffer.  Yes, the buffer
  can be optional, then all events are reported by the system call.
That requires a copy, which can neglect syscall overhead.
Do we really want it to be done?
Please note that we're talking about events here, not actual data.  So
only the event is being copied, which is presumably rather small compared
to the data.
In syscall time kevents copy 40bytes for each event + 12 bytes of header 
(number of events, timeout and command number). That's likely two cache
lines if only one event is reported.

-- 
	Evgeniy Polyakov
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help