[CRIU] Re: [PATCH cr 2/2] sk-queue: use write/read instread of sendfile

Pavel Emelyanov xemul at parallels.com
Fri Sep 28 08:44:20 EDT 2012


On 09/28/2012 08:37 PM, Andrey Vagin wrote:
> sendfile uses sendpage() and all data are splitted on pages and
> a new skb is allocated for each page. It creates a big overhead on SNDBUF.
> 
> sendfile() isn't suatable for DGRAM sockets, because message boundaries
> should be saved.
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>

Applied.


More information about the CRIU mailing list