Pull io_uring fixes from Jens Axboe: - Fix memleak for error path in registered files (Yang) - Export CQ overflow state in flags, necessary to fix a case where liburing doesn't know if it needs to enter the kernel (Xiaoguang) - Fix for a regression in when user memory is accounted freed, causing issues with back-to-back ring exit + init if the ulimit -l setting is very tight. * tag 'io_uring-5.8-2020-07-10' of git://git.kernel.dk/linux-block: io_uring: account user memory freed when exit has been queued io_uring: fix memleak in io_sqe_files_register() io_uring: fix memleak in __io_sqe_files_update() io_uring: export cq overflow status to userspace
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -197,6 +197,7 @@ struct io_sqring_offsets { · 196 unmodified lines | |||
| 197 | * sq_ring->flags | 197 | * sq_ring->flags |
| 198 | */ | 198 | */ |
| 199 | #define IORING_SQ_NEED_WAKEUP (1U << 0) /* needs io_uring_enter wakeup */ | 199 | #define IORING_SQ_NEED_WAKEUP (1U << 0) /* needs io_uring_enter wakeup */ |
| 200 | #define IORING_SQ_CQ_OVERFLOW (1U << 1) /* CQ ring is overflown */ | ||
| 200 | 201 | ||
| 201 | struct io_cqring_offsets { | 202 | struct io_cqring_offsets { |
| 202 | __u32 head; | 203 | __u32 head; |