Messages in this thread | | | Date | Mon, 31 Jul 2006 20:59:43 +1000 | Subject | Re: [RFC 1/4] kevent: core files. | From | Herbert Xu <> |
| |
On Mon, Jul 31, 2006 at 03:57:16AM -0700, David Miller wrote: > > So I would say for up to 4 or 5 events, system call overhead alone > touches as many cache lines as the events themselves.
Absolutely.
The other to consider is that events don't come from the hardware. Events are written by the kernel. So if user-space is just reading the events that we've written, then there are no cache misses at all.
Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |