summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.h
diff options
context:
space:
mode:
authorPaul E. McKenney2015-09-29 17:15:52 +0200
committerPaul E. McKenney2015-12-04 21:26:50 +0100
commit06f60de19d3141f07d954c9275fe7ccca8e96b42 (patch)
treed0521b8b3c3d665bdba8d5854d4b598faa4b96db /kernel/rcu/tree.h
parentrcu: Add transitivity to remaining rcu_node ->lock acquisitions (diff)
downloadkernel-qcow2-linux-06f60de19d3141f07d954c9275fe7ccca8e96b42.tar.gz
kernel-qcow2-linux-06f60de19d3141f07d954c9275fe7ccca8e96b42.tar.xz
kernel-qcow2-linux-06f60de19d3141f07d954c9275fe7ccca8e96b42.zip
rcu: Short-circuit synchronize_sched_expedited() if only one CPU
If there is only one CPU, then invoking synchronize_sched_expedited() is by definition a grace period. This commit checks for this condition and does a short-circuit return in that case. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.h')
0 files changed, 0 insertions, 0 deletions