Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2005 18:17:10 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Mike Silbersack <silby@silby.com>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern uipc_socket.c
Message-ID:  <20051205181614.V32154@fledge.watson.org>
In-Reply-To: <20051205112600.O43418@odysseus.silby.com>
References:  <200511281809.jASI93Rl006494@repoman.freebsd.org> <20051204233215.G43418@odysseus.silby.com> <20051205094734.P45634@fledge.watson.org> <20051205112600.O43418@odysseus.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051205181614.V32154>