]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring: add task fork hook
authorJens Axboe <axboe@kernel.dk>
Fri, 16 Jan 2026 22:28:58 +0000 (15:28 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 6 Feb 2026 14:29:14 +0000 (07:29 -0700)
commit9fd99788f3e5a129908c242bb29946077ca46611
treee70e04809c1cc4d7466da5d2ede77b1861e054c0
parente7f67c2be7877a3d44aa79b8d22eae8cb6e2c6d6
io_uring: add task fork hook

Called when copy_process() is called to copy state to a new child.
Right now this is just a stub, but will be used shortly to properly
handle fork'ing of task based io_uring restrictions.

Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring.h
include/linux/sched.h
io_uring/tctx.c
kernel/fork.c