OpenCloudOS-Kernel/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 mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary 2020-10-13 18:38:35 -07:00
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 isolcpus: Affine unbound kernel threads to housekeeping cpus 2020-06-15 14:10:03 +02:00
jobctl.h signal: kill JOBCTL_TASK_WORK 2020-12-12 09:17:38 -07:00
loadavg.h sched: nohz: stop passing around unused "ticks" parameter. 2020-07-22 10:22:04 +02:00
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 sched/topology: Mark SD_NUMA as SDF_NEEDS_GROUPS 2020-08-19 10:49:50 +02:00
signal.h tif-task_work.arch-2020-12-14 2020-12-16 12:33:35 -08:00
smt.h
stat.h
sysctl.h sched/uclamp: Add a new sysctl to control RT default boost value 2020-07-29 13:51:47 +02:00
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 watch_queue: Limit the number of watches a user can hold 2020-08-17 09:39:18 -07:00
wake_q.h
xacct.h