• David Howells's avatar
    af_unix: Support MSG_SPLICE_PAGES · a0dbf5f8
    David Howells authored
    Make AF_UNIX sendmsg() support MSG_SPLICE_PAGES, splicing in pages from the
    source iterator if possible and copying the data in otherwise.
    
    This allows ->sendpage() to be replaced by something that can handle
    multiple multipage folios in a single transaction.
    Signed-off-by: default avatarDavid 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: default avatarJakub Kicinski <kuba@kernel.org>
    a0dbf5f8
af_unix.c 88.7 KB