diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-01-27 22:17:02 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-18 20:38:18 +0200 |
commit | 0f9be8cabbc343218dd2807af7308656be113045 (patch) | |
tree | d99e786bc49f6d77bbd1fa4fa7c4df31de9fed8d /security/smack | |
parent | rcu: Pull rcu_qs_ctr into rcu_dynticks structure (diff) | |
download | linux-0f9be8cabbc343218dd2807af7308656be113045.tar.xz linux-0f9be8cabbc343218dd2807af7308656be113045.zip |
rcu: Eliminate flavor scan in rcu_momentary_dyntick_idle()
The rcu_momentary_dyntick_idle() function scans the RCU flavors, checking
that one of them still needs a quiescent state before doing an expensive
atomic operation on the ->dynticks counter. However, this check reduces
overhead only after a rare race condition, and increases complexity. This
commit therefore removes the scan and the mechanism enabling the scan.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions