Skip to content
Commit 06f60de1 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 6cf10081
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment