summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2019-05-23 13:49:26 -0700
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-08-13 14:35:49 -0700
commit383e13328373ae1e17119ff89c86ff5f9413f31c (patch)
tree77bcdedf373eeede625403b406d4291d28803b60 /crypto/testmgr.h
parentaeeacd9d844b2219d47e9010298b635c68a2a4c9 (diff)
downloadlinux-383e13328373ae1e17119ff89c86ff5f9413f31c.tar.gz
linux-383e13328373ae1e17119ff89c86ff5f9413f31c.tar.bz2
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 'crypto/testmgr.h')
0 files changed, 0 insertions, 0 deletions