diff options
| author | Paul E. McKenney <[email protected]> | 2019-07-16 09:17:00 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2019-08-13 21:38:24 +0000 |
| commit | f48fe4c586604c3a09938c6a6e9fd3356dfe8f3c (patch) | |
| tree | 011d5815d8de824c08a4d9aade25b9e01e6f78bc /tools/perf/scripts/python/compaction-times.py | |
| parent | rcu/nocb: Reduce __call_rcu_nocb_wake() leaf rcu_node ->lock contention (diff) | |
| download | kernel-f48fe4c586604c3a09938c6a6e9fd3356dfe8f3c.tar.gz kernel-f48fe4c586604c3a09938c6a6e9fd3356dfe8f3c.zip | |
rcu/nocb: Don't wake no-CBs GP kthread if timer posted under overload
When under overload conditions, __call_rcu_nocb_wake() will wake the
no-CBs GP kthread any time the no-CBs CB kthread is asleep or there
are no ready-to-invoke callbacks, but only after a timer delay. If the
no-CBs GP kthread has a ->nocb_bypass_timer pending, the deferred wakeup
from __call_rcu_nocb_wake() is redundant. This commit therefore makes
__call_rcu_nocb_wake() avoid posting the redundant deferred wakeup if
->nocb_bypass_timer is pending. This requires adding a bit of ordering
of timer actions.
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
