summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-10-03 23:43:40 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-11-27 17:42:03 +0100
commit51a1fd30f13090be7750fed86cf3728afaf4e394 (patch)
tree346dbd94f1ec39ed399403112a12698e33ee1dc3 /kernel/rcu/tree.h
parentrcu: Define rcu_irq_{enter,exit}() in terms of rcu_nmi_{enter,exit}() (diff)
downloadlinux-51a1fd30f13090be7750fed86cf3728afaf4e394.tar.xz
linux-51a1fd30f13090be7750fed86cf3728afaf4e394.zip
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>
Diffstat (limited to '')
-rw-r--r--kernel/rcu/tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h
index 46a5d1991450..dbd7e3753bed 100644
--- a/kernel/rcu/tree.h
+++ b/kernel/rcu/tree.h
@@ -39,7 +39,6 @@
*/
struct rcu_dynticks {
long long dynticks_nesting; /* Track irq/process nesting level. */
- /* Process level is worth LLONG_MAX/2. */
int dynticks_nmi_nesting; /* Track NMI nesting level. */
atomic_t dynticks; /* Even value for idle, else odd. */
bool rcu_need_heavy_qs; /* GP old, need heavy quiescent state. */