1. 06 Jun, 2023 2 commits
    • David Howells's avatar
      kcm: Convert kcm_sendpage() to use MSG_SPLICE_PAGES · 5bb3a5cb
      David Howells authored
      Convert kcm_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: default avatarDavid Howells <dhowells@redhat.com>
      cc: Tom Herbert <tom@herbertland.com>
      cc: Tom Herbert <tom@quantonium.net>
      cc: Cong Wang <cong.wang@bytedance.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Matthew Wilcox <willy@infradead.org>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      5bb3a5cb
    • David Howells's avatar
      kcm: Support MSG_SPLICE_PAGES · 2b03bcae
      David Howells authored
      Make AF_KCM sendmsg() support MSG_SPLICE_PAGES.  This causes pages to be
      spliced from the source iterator if possible.
      
      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: Tom Herbert <tom@herbertland.com>
      cc: Tom Herbert <tom@quantonium.net>
      cc: Cong Wang <cong.wang@bytedance.com>
      cc: Jens Axboe <axboe@kernel.dk>
      cc: Matthew Wilcox <willy@infradead.org>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      2b03bcae
  2. 05 Jun, 2023 24 commits
  3. 04 Jun, 2023 1 commit
  4. 03 Jun, 2023 12 commits
  5. 02 Jun, 2023 1 commit