Re: zero-copy TCP

From: Alan Cox (
Date: Mon Sep 04 2000 - 06:16:23 EST

> > those pages out of cache which isnt so ideal if the CPU wants
> > them. Some of the results are suprisingly counter-intuitive like this
> Does it flush the CPU cache? I thought the CPU just snooped the bus and
> updated its cache with new data.

In general no.

> struct page of course). Note that it doesn't matter if another thread,
> and this includes truncate/write in another thread, clobbers the page
> data. That's just the normal effect of two concurrent writers to the
> same memory.

Oh it does matter. You might send out a page of kernel data by mistake, or
one some machines take a fault

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:17 EST