summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tiny.c
diff options
context:
space:
mode:
authorPaul E. McKenney2017-10-03 04:45:10 +0200
committerPaul E. McKenney2017-11-27 17:40:10 +0100
commita0eb22bf64a755bb162b421120b9fbe7d012b85f (patch)
tree6bfe025b6e0003e660dd79e1f6a83b80ec125ad0 /kernel/rcu/tiny.c
parentrcu: Avoid ->dynticks_nmi_nesting store tearing (diff)
downloadkernel-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/tiny.c')
0 files changed, 0 insertions, 0 deletions