commit | 0f9be8cabbc343218dd2807af7308656be113045 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Fri Jan 27 13:17:02 2017 -0800 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Apr 18 11:38:18 2017 -0700 |
tree | d99e786bc49f6d77bbd1fa4fa7c4df31de9fed8d | |
parent | 9577df9a3122af08fff84b8a1a60dccf524a3891 [diff] |
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>