diff options
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-01-28 00:17:02 +0300 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-04-18 21:38:18 +0300 |
| commit | 0f9be8cabbc343218dd2807af7308656be113045 (patch) | |
| tree | d99e786bc49f6d77bbd1fa4fa7c4df31de9fed8d /include/linux | |
| parent | 9577df9a3122af08fff84b8a1a60dccf524a3891 (diff) | |
| download | linux-0f9be8cabbc343218dd2807af7308656be113045.tar.xz | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
