Re: cvs commit: src/sys/kern uipc_socket.c

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Mon, 5 Dec 2005 18:17:10 +0000 (GMT)
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
Received on Mon Dec 05 2005 - 18:17:11 UTC