]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring: split out task work code into tw.c
authorJens Axboe <axboe@kernel.dk>
Thu, 22 Jan 2026 15:55:45 +0000 (08:55 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 22 Jan 2026 16:20:17 +0000 (09:20 -0700)
commit7642e668606009fcd3fe1fc161a79ef90403d507
tree64e1d40965dba74060d9fa28c543756dd03b61fc
parent1f293098a31368a5d5cfab215a56f4cbed3f657a
io_uring: split out task work code into tw.c

Move the task work handling code out of io_uring.c into a new tw.c file.
This includes the local work, normal work, and fallback work handling
infrastructure.

The associated tw.h header contains io_should_terminate_tw() as a static
inline helper, along with the necessary function declarations.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/Makefile
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/tw.c [new file with mode: 0644]
io_uring/tw.h [new file with mode: 0644]