Allow non-atomic allocs for overflows
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 4 repliesIn review
- v35 patches 7 repliesSuperseded
- v23 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 7 replies | Superseded |
Changes in v4 from the cover letter
- Fix typos in commit message.
- Rename io_cqe_overflow_lockless() -> io_cqe_overflow(), and io_cqe_overflow() -> io_cqe_overflow_locked().
- Make io_init_cqe() a static inline function rather than a macro.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | io_uring: open code io_req_cqe_overflow()io_uring/ | +10 | 0 replies | |
| 2/5 | io_uring: split alloc and add of overflowio_uring/ | +45 | 2 replies | |
| 3/5 | io_uring: make io_alloc_ocqe() take a struct io_cqe pointerio_uring/ | +16 | 1 reply | |
| 4/5 | io_uring: pass in struct io_big_cqe to io_alloc_ocqe()include/ io_uring/ | +12 | 0 replies | |
| 5/5 | io_uring: add new helpers for posting overflowsio_uring/ | +29 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Caleb Sander Mateos |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHSET v4 0/5] Allow non-atomic allocs for overflows
Hi,
This is heavily inspired by the series that Pavel posted here:
https://lore.kernel.org/io-uring/[email protected]/
Basically this patchset tries to accomplish two things:
1) Enable GFP_KERNEL alloc of the overflow entries, when possible.
2) Make the overflow side pollute the fast/common path as little as possible.
Also does some cleanups, like passing more appropriate and easily readable arguments to the overflow handling, rather than need 3..5 arguments of various user_data/res/cflags/extra1/extra1 being passed along.
include/linux/io_uring_types.h | 2 +- io_uring/io_uring.c | 99 ++++++++++++++++++++++------------ 2 files changed, 65 insertions(+), 36 deletions(-)
Since v3:
- Fix typos in commit message.
- Rename io_cqe_overflow_lockless() -> io_cqe_overflow(), and io_cqe_overflow() -> io_cqe_overflow_locked().
- Make io_init_cqe() a static inline function rather than a macro.
Signature · 1 line
Jens Axboe