diff options
author | Paul E. McKenney | 2017-10-03 04:45:10 +0200 |
---|---|---|
committer | Paul E. McKenney | 2017-11-27 17:40:10 +0100 |
commit | a0eb22bf64a755bb162b421120b9fbe7d012b85f (patch) | |
tree | 6bfe025b6e0003e660dd79e1f6a83b80ec125ad0 /kernel/rcu/tree.h | |
parent | rcu: Avoid ->dynticks_nmi_nesting store tearing (diff) | |
download | kernel-qcow2-linux-a0eb22bf64a755bb162b421120b9fbe7d012b85f.tar.gz kernel-qcow2-linux-a0eb22bf64a755bb162b421120b9fbe7d012b85f.tar.xz kernel-qcow2-linux-a0eb22bf64a755bb162b421120b9fbe7d012b85f.zip |
rcu: Reduce dyntick-idle state space
Both extended-quiescent-state entry and exit first update the nesting
counter and then adjust the dyntick-idle state. This means that there
are four states: (1) Both nesting and dyntick idle indicate idle,
(2) Nesting indicates idle but dyntick idle does not, (3) Nesting indicates
non-idle and dyntick idle does not, and (4) Both nesting and dyntick
idle indicate non-idle. This commit simplifies the state space by
eliminating #3, reversing the order of updates on exit from extended
quiescent state.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.h')
0 files changed, 0 insertions, 0 deletions