Re: [Question] Explanation of zero-copy networking

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 7 May 2001 14:56:10 +0100 (BST)


> documented so far) detailed description of the newly
> implemented zero-copy mechanisms in the network-stack.
> We are interested in how to use it (changed network-API?)
> and also in the internal architecture.

It is built around sendfile. Trying to do zero copy on pages with user space
mappings get so horribly non pretty it is better to build the API from the
physical side of things.

> Our second question: Are there any plans for contructing
> a general copy-avoidance infrastructure (smth. like UVM in
> NetBSD does) and new IPC-mechanisms on top of it yet??

Andrea Arcangeli has O_DIRECT file I/O for the ext2 file system. There are also
several patches for kiovec based single copy pipes have been posted too.

-
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/