Files
linux/kernel
Jens Axboe 6dd8815ced UPSTREAM: kernel: provide create_io_thread() helper
[ Upstream commit cc440e8738 ]

Provide a generic helper for setting up an io_uring worker. Returns a
task_struct so that the caller can do whatever setup is needed, then call
wake_up_new_task() to kick it into gear.

Add a kernel_clone_args member, io_thread, which tells copy_process() to
mark the task with PF_IO_WORKER.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 1500fed008)
Bug: 268174392
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I670f155fc4ac1b93824391292f4822e32671215b
2023-02-08 08:27:26 +00:00
..
2022-05-15 18:02:37 +02:00
2021-09-08 09:07:16 +02:00
2020-08-12 10:58:02 -07:00
2021-09-03 10:59:15 +02:00
2020-11-14 11:26:04 -08:00
2022-05-15 18:02:37 +02:00
2021-08-18 09:34:44 +02:00
2022-06-24 11:54:12 +02:00
2021-09-03 10:59:15 +02:00