summaryrefslogtreecommitdiffstats
path: root/kernel/irq_work.c
diff options
context:
space:
mode:
authorPaul E. McKenney2017-08-11 21:37:07 +0200
committerPaul E. McKenney2017-10-09 23:24:14 +0200
commitc63eb17ff06dbcf73e771b9b425c531cc0a9c17b (patch)
tree3a985b57593a3ce64503837b9b55ae99e03483ad /kernel/irq_work.c
parentrcu: Fix up pending cbs check in rcu_prepare_for_idle (diff)
downloadkernel-qcow2-linux-c63eb17ff06dbcf73e771b9b425c531cc0a9c17b.tar.gz
kernel-qcow2-linux-c63eb17ff06dbcf73e771b9b425c531cc0a9c17b.tar.xz
kernel-qcow2-linux-c63eb17ff06dbcf73e771b9b425c531cc0a9c17b.zip
rcu: Create call_rcu_tasks() kthread at boot time
Currently the call_rcu_tasks() kthread is created upon first invocation of call_rcu_tasks(). This has the advantage of avoiding creation if there are never any invocations of call_rcu_tasks() and of synchronize_rcu_tasks(), but it requires an unreliable heuristic to determine when it is safe to create the kthread. For example, it is not safe to create the kthread when call_rcu_tasks() is invoked with a spinlock held, but there is no good way to detect this in !PREEMPT kernels. This commit therefore creates this kthread unconditionally at core_initcall() time. If you don't want this kthread created, then build with CONFIG_TASKS_RCU=n. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions