mbox series

[PATCHSET,0/6] Cancelation cleanups

Message ID 20250205202641.646812-1-axboe@kernel.dk (mailing list archive)
Headers show
Series Cancelation cleanups | expand

Message

Jens Axboe Feb. 5, 2025, 8:26 p.m. UTC
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(-)