cvs commit: src/sys/kern uipc_socket.c
rwatson at FreeBSD.org
Mon Dec 5 10:17:12 PST 2005
On Mon, 5 Dec 2005, Mike Silbersack wrote:
> On Mon, 5 Dec 2005, Robert Watson wrote:
>> (3) Enhance m_uiotombuf() so that it can either be trivially wrapped by
>> sosend_copyin(), or replace it. At the very least, this means adding
>> zero-copy support to m_uiotombuf(), but I've not looked at this much.
> Sounds good, I just wanted to make sure that you were aware of the existence
> of the two. Hm, grep just notified me that we have a nfsm_uiotombuf as
> well, I wonder how different THAT version is.
The NFS server could could probably profitably, and fairly easily, be taught
how to do zero-copy from the buffer/page cache, btw. Should be able to steal
code from sendfile(), although I've not looked in any detail. Possibly also
the NFS client.
Robert N M Watson
More information about the cvs-src