RFC Poll cleanups and unlocked table removal
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | io_uring/poll: remove 'ctx' argument from io_poll_req_delete()io_uring/ | +2 | 0 replies | |
| 2/5 | io_uring/poll: get rid of unlocked cancel hashinclude/ io_uring/ io_uring/ +1 more | +36 | 0 replies | |
| 3/5 | io_uring/poll: get rid of io_poll_tw_hash_eject()io_uring/ | +2 | 0 replies | |
| 4/5 | io_uring/poll: get rid of per-hashtable bucket locksinclude/ io_uring/ io_uring/ | +11 | 0 replies | |
| 5/5 | io_uring/cancel: get rid of init_hash_table() helperio_uring/ io_uring/ io_uring/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHSET RFC 0/5] Poll cleanups and unlocked table removal
Hi,
This patchset gets rid of the distinction between the locked and unlocked hashed cancel table, by simply ensuring that the unlocked issuer grabs the lock. That then enables us to drop a bunch of code and helpers (and even a request flag), which is always nice.
Ran this through the usual testing, no issues observed.
include/linux/io_uring_types.h | 7 +- io_uring/cancel.c | 10 -- io_uring/cancel.h | 1 - io_uring/fdinfo.c | 11 +-- io_uring/io_uring.c | 8 +- io_uring/poll.c | 173 +++++++-------------------------- 6 files changed, 40 insertions(+), 170 deletions(-)
Signature · 1 line
Jens Axboe