And what becomes of zero-copy?
Posted Apr 6, 2006 1:13 UTC (Thu) by
xoddam (subscriber, #2322)
In reply to:
Two new system calls: splice() and sync_file_range() by axboe
Parent article:
Two new system calls: splice() and sync_file_range()
> The splice git branch has support for fd -> fd splicing now
> (by using a virtual pipe), so sys_sendfile can basically
> just use that.
But the internal pipe buffer uses dedicated pages, so there is
a minimum of one copy involved. Doesn't sendfile() do zero-copy
from a file's pages to a socket, if the socket's driver supports
it?
Also why isn't splice() just called cat()?
(
Log in to post comments)