Home
last modified time | relevance | path

Searched hist:cc440e8738e5c875297ac0e90316745093be7e28 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/sched/
H A Dtask.hdiff cc440e8738e5c875297ac0e90316745093be7e28 Thu Mar 04 13:21:05 CST 2021 Jens Axboe <axboe@kernel.dk> kernel: provide create_io_thread() helper

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>
/openbmc/linux/kernel/
H A Dfork.cdiff cc440e8738e5c875297ac0e90316745093be7e28 Thu Mar 04 13:21:05 CST 2021 Jens Axboe <axboe@kernel.dk> kernel: provide create_io_thread() helper

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>