summaryrefslogtreecommitdiff
path: root/include/linux/irq_work.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-08-11 22:37:07 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-10-10 00:24:14 +0300
commitc63eb17ff06dbcf73e771b9b425c531cc0a9c17b (patch)
tree3a985b57593a3ce64503837b9b55ae99e03483ad /include/linux/irq_work.h
parent135bd1a230bb69a68c9808a7d25467318900b80a (diff)
downloadlinux-c63eb17ff06dbcf73e771b9b425c531cc0a9c17b.tar.xz
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 'include/linux/irq_work.h')
0 files changed, 0 insertions, 0 deletions