Cancelation cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | io_uring/cancel: add generic remove_all helperio_uring/ io_uring/ | +24 | 2 replies | |
| 2/6 | io_uring/futex: convert to io_cancel_remove_all()io_uring/ | +3 | 0 replies | |
| 3/6 | io_uring/waitid: convert to io_cancel_remove_all()io_uring/ | +3 | 0 replies | |
| 4/6 | io_uring/cancel: add generic cancel helperio_uring/ io_uring/ | +25 | 0 replies | |
| 5/6 | io_uring/futex: use generic io_cancel_remove() helperio_uring/ | +1 | 2 replies | |
| 6/6 | io_uring/waitid: use generic io_cancel_remove() helperio_uring/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHSET 0/6] Cancelation cleanups
Hi,
While adding another cancelable request type, I noticed that there's a bit of boilerplate code for supporting that. This patch series gets rid of the generic hlist_head based cancel implementations and adds a generic one instead that both futex and waitid can use. The pending epoll wait implementation will be able to use it too.
io_uring/cancel.c | 41 +++++++++++++++++++++++++++++++++++++++++ io_uring/cancel.h | 8 ++++++++ io_uring/futex.c | 42 +++--------------------------------------- io_uring/waitid.c | 42 +++--------------------------------------- 4 files changed, 55 insertions(+), 78 deletions(-)
Signature · 1 line
Jens Axboe