pipe/fifo code merged.

Kostik Belousov kostikbel at gmail.com
Mon Jan 9 15:00:32 UTC 2012


On Tue, Jan 10, 2012 at 01:34:23AM +1100, Bruce Evans wrote:
> For the socket layer, there is the ZERO_COPY_SOCKETS options.  This
> gives optimizations related to the ones for pipes.  I have no experience
> with it.  It seems to be only for hardware sockets.  It is apparently
> not very popular or well maintained, since it isn't an any GENERIC.
It is known to be (very) broken with regard to the vnode-backed mappings.
AFAIR, after the COW kicks in, buffer code operates on the wrong page.
In the best case, it results in the kernel panic, in the worst, the user
data is corrupted.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20120109/d452e33d/attachment.pgp


More information about the freebsd-arch mailing list