Merge tag 'io_uring-6.7-2023-11-30' of git://git.kernel.dk/linux
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
Showing
- include/linux/io_uring_types.h 3 additions, 0 deletionsinclude/linux/io_uring_types.h
- io_uring/cancel.c 6 additions, 5 deletionsio_uring/cancel.c
- io_uring/io_uring.c 51 additions, 44 deletionsio_uring/io_uring.c
- io_uring/io_uring.h 3 additions, 0 deletionsio_uring/io_uring.h
- io_uring/kbuf.c 156 additions, 21 deletionsio_uring/kbuf.c
- io_uring/kbuf.h 5 additions, 0 deletionsio_uring/kbuf.h
Loading
Please register or sign in to comment