diff options
author | 2019-05-23 13:49:26 -0700 | |
---|---|---|
committer | 2019-08-13 14:35:49 -0700 | |
commit | 383e13328373ae1e17119ff89c86ff5f9413f31c (patch) | |
tree | 77bcdedf373eeede625403b406d4291d28803b60 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu/nocb: Enable re-awakening under high callback load (diff) | |
download | wireguard-linux-383e13328373ae1e17119ff89c86ff5f9413f31c.tar.xz wireguard-linux-383e13328373ae1e17119ff89c86ff5f9413f31c.zip |
rcu/nocb: Never downgrade ->nocb_defer_wakeup in wake_nocb_gp_defer()
Currently, wake_nocb_gp_defer() simply stores whatever waketype was
passed in, which can result in a RCU_NOCB_WAKE_FORCE being downgraded
to RCU_NOCB_WAKE, which could in turn delay callback processing.
This commit therefore adds a check so that wake_nocb_gp_defer() only
updates ->nocb_defer_wakeup when the update increases the forcefulness,
thus avoiding downgrades.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions