• David Howells's avatar
    ip6, udp6: Support MSG_SPLICE_PAGES · 6d8192bd
    David Howells authored
    Make IP6/UDP6 sendmsg() support MSG_SPLICE_PAGES.  This causes pages to be
    spliced from the source iterator if possible, copying the data if not.
    
    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: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
    cc: David Ahern <dsahern@kernel.org>
    cc: Jens Axboe <axboe@kernel.dk>
    cc: Matthew Wilcox <willy@infradead.org>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    6d8192bd
ip6_output.c 53.7 KB