Skip to content

RFC Poll cleanups and unlocked table removal

Jens Axboe io-uring 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5io_uring/poll: remove 'ctx' argument from io_poll_req_delete()io_uring/poll.c+2 -20 replies
2/5io_uring/poll: get rid of unlocked cancel hashinclude/linux/io_uring_types.h io_uring/fdinfo.c io_uring/io_uring.c +1 more+36 -1240 replies
3/5io_uring/poll: get rid of io_poll_tw_hash_eject()io_uring/poll.c+2 -150 replies
4/5io_uring/poll: get rid of per-hashtable bucket locksinclude/linux/io_uring_types.h io_uring/cancel.c io_uring/poll.c+11 -330 replies
5/5io_uring/cancel: get rid of init_hash_table() helperio_uring/cancel.c io_uring/cancel.h io_uring/io_uring.c+3 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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