Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: default avatarJosh Boyer <jwboyer@redhat.com>
Tested-by: default avatarChristian Hoffmann <email@christianhoffmann.info>
parent 9bc8b558
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment