Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Oct 2007 18:42:07 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: zero copy tcp send
Message-ID:  <470A6BEF.4040808@cran.org.uk>
In-Reply-To: <20071008103928.R69642@wojtek.tensor.gdynia.pl>
References:  <20071008103928.R69642@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Wojciech Puchar wrote:
> i found sendfile(2) doing this.
> but the question - does normal write(2) doing this when sending from 
> user process memory, not file?
> 
> does memory have to be aligned special way,like to page boundary?
> 

Yes - see zero_copy(9)

--
Bruce



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