rcu: Make ->dynticks_nesting be a simple counter
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 3 Oct 2017 21:43:40 +0000 (14:43 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 27 Nov 2017 16:42:03 +0000 (08:42 -0800)
commit51a1fd30f13090be7750fed86cf3728afaf4e394
tree346dbd94f1ec39ed399403112a12698e33ee1dc3
parent58721f5da4bcd5187566f4159a4fc88f70bf74f6
rcu: Make ->dynticks_nesting be a simple counter

Now that ->dynticks_nesting counts only process-level dyntick-idle
entry and exit, there is no need for the elaborate segmented counter
with its guard fields and overflow checking.  This commit therefore
makes ->dynticks_nesting be a simple counter.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcu.h
kernel/rcu/tree.c
kernel/rcu/tree.h