mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 20:04:01 +00:00
486e259340
When CONFIG_RCU_FAST_NO_HZ is enabled, RCU will allow a given CPU to enter dyntick-idle mode even if it still has RCU callbacks queued. RCU avoids system hangs in this case by scheduling a timer for several jiffies in the future. However, if all of the callbacks on that CPU are from kfree_rcu(), there is no reason to wake the CPU up, as it is not a problem to defer freeing of memory. This commit therefore tracks the number of callbacks on a given CPU that are from kfree_rcu(), and avoids scheduling the timer if all of a given CPU's callbacks are from kfree_rcu(). Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
||
---|---|---|
.. | ||
9p.h | ||
asoc.h | ||
block.h | ||
btrfs.h | ||
compaction.h | ||
ext3.h | ||
ext4.h | ||
gfpflags.h | ||
gpio.h | ||
irq.h | ||
jbd.h | ||
jbd2.h | ||
kmem.h | ||
kvm.h | ||
lock.h | ||
mce.h | ||
module.h | ||
napi.h | ||
net.h | ||
oom.h | ||
power.h | ||
rcu.h | ||
regmap.h | ||
regulator.h | ||
rpm.h | ||
sched.h | ||
scsi.h | ||
signal.h | ||
skb.h | ||
sock.h | ||
syscalls.h | ||
task.h | ||
timer.h | ||
udp.h | ||
vmscan.h | ||
workqueue.h | ||
writeback.h | ||
xen.h |