From owner-cvs-all@FreeBSD.ORG Mon Dec 5 18:17:11 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3A0516A41F; Mon, 5 Dec 2005 18:17:11 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64F6443D46; Mon, 5 Dec 2005 18:17:11 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 1061846B35; Mon, 5 Dec 2005 13:17:11 -0500 (EST) Date: Mon, 5 Dec 2005 18:17:10 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Mike Silbersack In-Reply-To: <20051205112600.O43418@odysseus.silby.com> Message-ID: <20051205181614.V32154@fledge.watson.org> References: <200511281809.jASI93Rl006494@repoman.freebsd.org> <20051204233215.G43418@odysseus.silby.com> <20051205094734.P45634@fledge.watson.org> <20051205112600.O43418@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern uipc_socket.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 18:17:12 -0000 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