summaryrefslogtreecommitdiffstats
path: root/kernel/rtmutex.c
diff options
context:
space:
mode:
authorPaul E. McKenney2011-08-15 00:56:54 +0200
committerPaul E. McKenney2011-09-29 06:38:42 +0200
commit06ae115a1d551cd952d80df06eaf8b5153351875 (patch)
tree858163c4983a7cc92bffab2267597f3bb802071b /kernel/rtmutex.c
parentrcu: Suppress NMI backtraces when stall ends before dump (diff)
downloadkernel-qcow2-linux-06ae115a1d551cd952d80df06eaf8b5153351875.tar.gz
kernel-qcow2-linux-06ae115a1d551cd952d80df06eaf8b5153351875.tar.xz
kernel-qcow2-linux-06ae115a1d551cd952d80df06eaf8b5153351875.zip
rcu: Avoid having just-onlined CPU resched itself when RCU is idle
CPUs set rdp->qs_pending when coming online to resolve races with grace-period start. However, this means that if RCU is idle, the just-onlined CPU might needlessly send itself resched IPIs. Adjust the online-CPU initialization to avoid this, and also to correctly cause the CPU to respond to the current grace period if needed. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Tested-by: Josh Boyer <jwboyer@redhat.com> Tested-by: Christian Hoffmann <email@christianhoffmann.info>
Diffstat (limited to 'kernel/rtmutex.c')
0 files changed, 0 insertions, 0 deletions