a26ac2455f
If RCU priority boosting is to be meaningful, callback invocation must be boosted in addition to preempted RCU readers. Otherwise, in presence of CPU real-time threads, the grace period ends, but the callbacks don't get invoked. If the callbacks don't get invoked, the associated memory doesn't get freed, so the system is still subject to OOM. But it is not reasonable to priority-boost RCU_SOFTIRQ, so this commit moves the callback invocations to a kthread, which can be boosted easily. Also add comments and properly synchronized all accesses to rcu_cpu_kthread_task, as suggested by Lai Jiangshan. Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> |
||
---|---|---|
.. | ||
asoc.h | ||
block.h | ||
btrfs.h | ||
compaction.h | ||
ext4.h | ||
gfpflags.h | ||
irq.h | ||
jbd2.h | ||
kmem.h | ||
kvm.h | ||
lock.h | ||
mce.h | ||
module.h | ||
napi.h | ||
net.h | ||
power.h | ||
regulator.h | ||
sched.h | ||
scsi.h | ||
signal.h | ||
skb.h | ||
syscalls.h | ||
timer.h | ||
vmscan.h | ||
workqueue.h | ||
writeback.h |