https://github.com/torvalds/linux
Revision c9a925b7bcd9552f19ba50519c6a49ed7ca61691 authored by Linus Torvalds on 01 December 2023, 21:47:32 UTC, committed by Linus Torvalds on 01 December 2023, 21:47:32 UTC
Pull io_uring fixes from Jens Axboe:

 - 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.

* tag 'io_uring-6.7-2023-11-30' of git://git.kernel.dk/linux:
  io_uring: use fget/fput consistently
  io_uring: free io_buffer_list entries via RCU
  io_uring/kbuf: prune deferred locked cache when tearing down
  io_uring/kbuf: recycle freed mapped buffer ring entries
  io_uring/kbuf: defer release of mapped buffer rings
  io_uring: enable io_mem_alloc/free to be used in other parts
  io_uring: don't guard IORING_OFF_PBUF_RING with SETUP_NO_MMAP
  io_uring: don't allow discontig pages for IORING_SETUP_NO_MMAP
2 parent s ee0c8a9 + 73363c2
History
Tip revision: c9a925b7bcd9552f19ba50519c6a49ed7ca61691 authored by Linus Torvalds on 01 December 2023, 21:47:32 UTC
Merge tag 'io_uring-6.7-2023-11-30' of git://git.kernel.dk/linux
Tip revision: c9a925b
File Mode Size
.gitignore -rw-r--r-- 58 bytes
Kconfig -rw-r--r-- 62.6 KB
Makefile -rw-r--r-- 1.9 KB
build-version -rwxr-xr-x 177 bytes
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 10.9 KB
do_mounts.h -rw-r--r-- 982 bytes
do_mounts_initrd.c -rw-r--r-- 3.8 KB
do_mounts_rd.c -rw-r--r-- 7.7 KB
init_task.c -rw-r--r-- 6.1 KB
initramfs.c -rw-r--r-- 17.1 KB
main.c -rw-r--r-- 37.8 KB
noinitramfs.c -rw-r--r-- 862 bytes
version-timestamp.c -rw-r--r-- 762 bytes
version.c -rw-r--r-- 1.3 KB

back to top