diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-08-06 14:17:29 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-09-20 21:16:21 -0700 |
commit | 0d43eb34f9aabcddf41c99b7af2d0ced33e9a3cc (patch) | |
tree | ae248d15b7c20f943f0604654980265e7c74bc02 /kernel/rcu/tree_trace.c | |
parent | 97c668b8e983b722e2ed765b98b05f644aff1b13 (diff) | |
download | linux-stable-0d43eb34f9aabcddf41c99b7af2d0ced33e9a3cc.tar.gz linux-stable-0d43eb34f9aabcddf41c99b7af2d0ced33e9a3cc.tar.bz2 linux-stable-0d43eb34f9aabcddf41c99b7af2d0ced33e9a3cc.zip |
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) if (!rdp->beenonline) return; - seq_printf(m, "%3d%cc=%ld g=%ld pq=%d/%d qp=%d", + seq_printf(m, "%3d%cc=%ld g=%ld cnq=%d/%d:%d", rdp->cpu, cpu_is_offline(rdp->cpu) ? '!' : ' ', ulong2long(rdp->completed), ulong2long(rdp->gpnum), - rdp->passed_quiesce, + rdp->cpu_no_qs, rdp->rcu_qs_ctr_snap == per_cpu(rcu_qs_ctr, rdp->cpu), rdp->core_needs_qs); seq_printf(m, " dt=%d/%llx/%d df=%lu", |