Re: Linux 2.6.17-rc2

From: Andi Kleen
Date: Thu Apr 20 2006 - 22:10:59 EST


Piet Delaney <piet@xxxxxxxxxxxx> writes:
>
> FreeBSD folks developed a ZERO_COPY_SOCKET facility that uses COW;
> code looked great.

Linux had patches many years ago (in 2.3.x), but it was never merged
because it is inherently unscalable on MP. Classical BSD sockets really
don't work well for zero copy - you need a new interface (like POSIX aio)
that allows the kernel/user to tell each other when use of data is
finished and buffers can be reused.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/