Skip to content
Commit 1fca4d12 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Expedite first two FQS scans under callback-overload conditions



Even if some CPUs have excessive numbers of callbacks, RCU's grace-period
kthread will still wait normally between successive force-quiescent-state
scans.  The first two are the most important, as they are the ones that
enlist aid from the scheduler when overloaded.  This commit therefore
omits the wait before the first and the second force-quiescent-state
scan under callback-overload conditions.

This approach was inspired by a discussion with Jeff Roberson.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 53965dbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment