Re: [PATCH 0/3] vmsplice: make vmsplice a trivial wrapper for preadv2/pwritev2
David Howells <[email protected]>
| Newsgroups | org.kernel.vger.linux-api,dev.linux.lists.patches,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kernel.vger.netdev,org.kvack.linux-mm |
|---|---|
| Organization | Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 |
| Message-ID | <[email protected]> |
Linus Torvalds <[email protected]> wrote: > Because if people think splice is complicated, you haven't looked at > the skb rules. They are completely arbitrary and complex and spread > all over the tree. Yeah - I fell foul of the net loopback driver just reflecting the outgoing packet back, complete with all the original spliced bufferage. I was wondering if the loopback driver needs to look at the skbuff, see if it has zerocopy elements of some sort and, if so, copy it (or drop it if ENOMEM). David