diff options
author | David Howells <dhowells@redhat.com> | 2023-05-22 13:11:25 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-05-23 20:48:28 -0700 |
commit | 57d44a354a43edba4ef9963327d4657d12edbfbc (patch) | |
tree | a5b6292a7d7e82a1f6ca74a2dad45a4f4bda6838 /init/initramfs.c | |
parent | a0dbf5f818f9082d2262c1f8a8c0aab68364341f (diff) |
unix: Convert unix_stream_sendpage() to use MSG_SPLICE_PAGES
Convert unix_stream_sendpage() to use sendmsg() with MSG_SPLICE_PAGES
rather than directly splicing in the pages itself.
This allows ->sendpage() to be replaced by something that can handle
multiple multipage folios in a single transaction.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Kuniyuki Iwashima <kuniyu@amazon.com>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions