linux-stable/include/linux/sched
Jens Axboe cc440e8738 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>
2021-03-04 15:45:03 -07:00
..
autogroup.h
clock.h
coredump.h
cpufreq.h cpufreq: Add special-purpose fast-switching callback for drivers 2020-12-15 19:24:18 +01:00
cputime.h
deadline.h
debug.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
hotplug.h sched/hotplug: Consolidate task migration on CPU unplug 2020-11-10 18:38:58 +01:00
idle.h
init.h
isolation.h
jobctl.h signal: kill JOBCTL_TASK_WORK 2020-12-12 09:17:38 -07:00
loadavg.h
mm.h Merge branch 'akpm' (patches from Andrew) 2020-12-15 12:53:37 -08:00
nohz.h
numa_balancing.h
prio.h sched: Remove USER_PRIO, TASK_USER_PRIO and MAX_USER_PRIO 2021-02-17 14:08:17 +01:00
rt.h
sd_flags.h
signal.h tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
smt.h
stat.h
sysctl.h
task.h kernel: provide create_io_thread() helper 2021-03-04 15:45:03 -07:00
task_stack.h
topology.h sched/topology,schedutil: Wrap sched domains rebuild 2020-11-19 11:25:47 +01:00
types.h
user.h
wake_q.h
xacct.h