diff options
author | David Howells <dhowells@redhat.com> | 2024-01-30 00:47:57 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2024-03-06 00:31:43 +0100 |
commit | 49489bb03a501547450e8fdc6d85d023d8a3b2c4 (patch) | |
tree | 072eb93c5f650cd6e2bf76652359b6c77f5c335f /include/asm-generic/uaccess.h | |
parent | rxrpc: Use rxrpc_txbuf::kvec[0] instead of rxrpc_txbuf::wire (diff) | |
download | linux-49489bb03a501547450e8fdc6d85d023d8a3b2c4.tar.xz linux-49489bb03a501547450e8fdc6d85d023d8a3b2c4.zip |
rxrpc: Do zerocopy using MSG_SPLICE_PAGES and page frags
Switch from keeping the transmission buffers in the rxrpc_txbuf struct and
allocated from the slab, to allocating them using page fragment allocators
(which uses raw pages), thereby allowing them to be passed to
MSG_SPLICE_PAGES and avoid copying into the UDP buffers.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: "David S. Miller" <davem@davemloft.net>
cc: Eric Dumazet <edumazet@google.com>
cc: Jakub Kicinski <kuba@kernel.org>
cc: Paolo Abeni <pabeni@redhat.com>
cc: linux-afs@lists.infradead.org
cc: netdev@vger.kernel.org
Diffstat (limited to 'include/asm-generic/uaccess.h')
0 files changed, 0 insertions, 0 deletions