Thread (107 messages) 107 messages, 27 authors, 4d ago

Re: [PATCH 0/3] vmsplice: make vmsplice a trivial wrapper for preadv2/pwritev2

From: David Laight <hidden>
Date: 2026-06-06 10:22:55
Also in: linux-fsdevel, linux-mm, linux-patches, lkml, netdev

On Fri, 5 Jun 2026 17:20:34 +0200
Stefan Metzmacher [off-list ref] wrote:
Hi David,
quoted
quoted
quoted
So sendfile() as a concept (whether you use combinations of splice()
system calls or the sendfile system call itsefl) isn't necessarily
only about the zero-copy, it's really also about avoiding the user
space memory management.  
I don't think so. Ok, maybe for webservers just serving tiny
html files, that's true. But for me with Samba it's really the
copy_to/from_iter() that is the major factor.  
Is that copy also doing the ip checksum?  
Not in my tests. I guess there's offload in the network hardware
for this.
There will be, it is just whether the syscall checksum is actually
being suppressed.

-- David
At least at the syscall layer of sendmsg() there's no checksuming
happening.

metze
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help