Thread (13 messages) flat view 13 messages, 5 authors, 2006-08-25

Re: [take13 1/3] kevent: Core files.

From: Christoph Hellwig <hch@infradead.org>
Date: 2006-08-24 20:03:41
Also in: lkml

Possibly related (same subject, not in this thread)

One question on the implementation of kevent_user_ctl_modify/
kevent_user_ctl_remove/kevent_user_ctl_add:  What benchmarks did you
do to add the separate 'fastpath' with the single onstack ukevent
structure if there are three or less events?  I can't believe this
actually helps in practice for various reasons:

 - you add quite a lot of icache footprint by duplicating all this code
 - kmalloc is really fast
 - two or three small copy_from/to_user calls are quite a bit slower
   than one that covers the size of all of them.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help