diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-08-06 17:17:29 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-09-21 00:16:21 -0400 |
commit | 0d43eb34f9aabcddf41c99b7af2d0ced33e9a3cc (patch) | |
tree | ae248d15b7c20f943f0604654980265e7c74bc02 /kernel/rcu/tree_trace.c | |
parent | 97c668b8e983b722e2ed765b98b05f644aff1b13 (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_trace.c')
-rw-r--r-- | kernel/rcu/tree_trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcu/tree_trace.c b/kernel/rcu/tree_trace.c index 4ac25f8520d6..d373e57109b8 100644 --- a/kernel/rcu/tree_trace.c +++ b/kernel/rcu/tree_trace.c | |||
@@ -117,11 +117,11 @@ static void print_one_rcu_data(struct seq_file *m, struct rcu_data *rdp) | |||
117 | 117 | ||
118 | if (!rdp->beenonline) | 118 | if (!rdp->beenonline) |
119 | return; | 119 | return; |
120 | seq_printf(m, "%3d%cc=%ld g=%ld pq=%d/%d qp=%d", | 120 | seq_printf(m, "%3d%cc=%ld g=%ld cnq=%d/%d:%d", |
121 | rdp->cpu, | 121 | rdp->cpu, |
122 | cpu_is_offline(rdp->cpu) ? '!' : ' ', | 122 | cpu_is_offline(rdp->cpu) ? '!' : ' ', |
123 | ulong2long(rdp->completed), ulong2long(rdp->gpnum), | 123 | ulong2long(rdp->completed), ulong2long(rdp->gpnum), |
124 | rdp->passed_quiesce, | 124 | rdp->cpu_no_qs, |
125 | rdp->rcu_qs_ctr_snap == per_cpu(rcu_qs_ctr, rdp->cpu), | 125 | rdp->rcu_qs_ctr_snap == per_cpu(rcu_qs_ctr, rdp->cpu), |
126 | rdp->core_needs_qs); | 126 | rdp->core_needs_qs); |
127 | seq_printf(m, " dt=%d/%llx/%d df=%lu", | 127 | seq_printf(m, " dt=%d/%llx/%d df=%lu", |