[PATCHSET 0/6] Cancelation cleanups

Jens Axboe
2025-02-05T20:26:44Z

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(-)

--
Jens Axboe