mbox series

[GIT,PULL] io_uring fixes for 6.7-rc4

Message ID a9499ad7-e4b4-4af4-8165-336aad7913a3@kernel.dk (mailing list archive)
State New
Headers show
Series [GIT,PULL] io_uring fixes for 6.7-rc4 | expand

Pull-request

git://git.kernel.dk/linux.git tags/io_uring-6.7-2023-11-30

Message

Jens Axboe Dec. 1, 2023, 6:56 p.m. UTC
Hi Linus,

Random assortment of fixes, either heading to stable or fixing an issue
introduced in this series.

- Fix an issue with discontig page checking for IORING_SETUP_NO_MMAP

- Fix an issue with not allowing IORING_SETUP_NO_MMAP also disallowing
  mmap'ed buffer rings

- Fix an issue with deferred release of memory mapped pages

- Fix a lockdep issue with IORING_SETUP_NO_MMAP

- Use fget/fput consistently, even from our sync system calls. No real
  issue here, but if we were ever to allow closing io_uring descriptors
  it would be required. Let's play it safe and just use the full ref
  counted versions upfront. Most uses of io_uring are threaded anyway,
  and hence already doing the full version underneath.

Please pull!


The following changes since commit d6fef34ee4d102be448146f24caf96d7b4a05401:

  io_uring: fix off-by one bvec index (2023-11-20 15:21:38 -0700)

are available in the Git repository at:

  git://git.kernel.dk/linux.git tags/io_uring-6.7-2023-11-30

for you to fetch changes up to 73363c262d6a7d26063da96610f61baf69a70f7c:

  io_uring: use fget/fput consistently (2023-11-28 11:56:29 -0700)

----------------------------------------------------------------
io_uring-6.7-2023-11-30

----------------------------------------------------------------
Jens Axboe (8):
      io_uring: don't allow discontig pages for IORING_SETUP_NO_MMAP
      io_uring: don't guard IORING_OFF_PBUF_RING with SETUP_NO_MMAP
      io_uring: enable io_mem_alloc/free to be used in other parts
      io_uring/kbuf: defer release of mapped buffer rings
      io_uring/kbuf: recycle freed mapped buffer ring entries
      io_uring/kbuf: prune deferred locked cache when tearing down
      io_uring: free io_buffer_list entries via RCU
      io_uring: use fget/fput consistently

 include/linux/io_uring_types.h |   3 +
 io_uring/cancel.c              |  11 +--
 io_uring/io_uring.c            |  95 ++++++++++++----------
 io_uring/io_uring.h            |   3 +
 io_uring/kbuf.c                | 177 ++++++++++++++++++++++++++++++++++++-----
 io_uring/kbuf.h                |   5 ++
 6 files changed, 224 insertions(+), 70 deletions(-)

Comments

pr-tracker-bot@kernel.org Dec. 1, 2023, 9:49 p.m. UTC | #1
The pull request you sent on Fri, 1 Dec 2023 11:56:29 -0700:

> git://git.kernel.dk/linux.git tags/io_uring-6.7-2023-11-30

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c9a925b7bcd9552f19ba50519c6a49ed7ca61691

Thank you!