io_uring: add __tctx_task_work_run() helper
authorJens Axboe <axboe@kernel.dk>
Fri, 22 Nov 2024 15:47:44 +0000 (08:47 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 17 Jun 2025 11:49:33 +0000 (05:49 -0600)
commitb64e266d187af4d7a1cfab6b720eea9becf8a743
treeea2c7f0f5b541b1b9e60dd0601f8b1be60b469ea
parenta892d8f676c5771506f7d13c96ead197a4930fd1
io_uring: add __tctx_task_work_run() helper

Most use cases only care about running all of the task_work, and they
don't need the node passed back or the work capped. Rename the existing
helper to __tctx_task_work_run(), and add a wrapper around that for the
more basic use cases.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/sqpoll.c