aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-08-06 17:17:29 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-09-21 00:16:21 -0400
commit0d43eb34f9aabcddf41c99b7af2d0ced33e9a3cc (patch)
treeae248d15b7c20f943f0604654980265e7c74bc02 /kernel/rcu/tree.h
parent97c668b8e983b722e2ed765b98b05f644aff1b13 (diff)
rcu: Invert passed_quiesce and rename to cpu_no_qs
This commit inverts the sense of the rcu_data structure's ->passed_quiesce field and renames it to ->cpu_no_qs. This will allow a later commit to use an "aggregate OR" operation to test expedited as well as normal grace periods without added overhead. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.h')
-rw-r--r--kernel/rcu/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h
index 4a0f30676ba8..ded4ceebed76 100644
--- a/kernel/rcu/tree.h
+++ b/kernel/rcu/tree.h
@@ -302,7 +302,7 @@ struct rcu_data {
302 /* is aware of having started. */ 302 /* is aware of having started. */
303 unsigned long rcu_qs_ctr_snap;/* Snapshot of rcu_qs_ctr to check */ 303 unsigned long rcu_qs_ctr_snap;/* Snapshot of rcu_qs_ctr to check */
304 /* for rcu_all_qs() invocations. */ 304 /* for rcu_all_qs() invocations. */
305 bool passed_quiesce; /* User-mode/idle loop etc. */ 305 bool cpu_no_qs; /* No QS yet for this CPU. */
306 bool core_needs_qs; /* Core waits for quiesc state. */ 306 bool core_needs_qs; /* Core waits for quiesc state. */
307 bool beenonline; /* CPU online at least once. */ 307 bool beenonline; /* CPU online at least once. */
308 bool gpwrap; /* Possible gpnum/completed wrap. */ 308 bool gpwrap; /* Possible gpnum/completed wrap. */