aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-05-01 16:35:20 -0400
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-07-12 18:38:46 -0400
commit865aa1e08d8aefdfd1f5d30ecfce1b8ef8cd520a (patch)
treea27bb295962253ff1d8280d62ec5d55c34d7a2e1 /kernel
parent598ce09480efb6b48799df60c66bac70bea5ef54 (diff)
rcu: Convert rcu_unlock_preempted_task tracepoint to ->gp_seq
This commit makes the rcu_unlock_preempted_task tracepoint use ->gp_seq instead of ->gpnum. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rcu/tree_plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 02ca3b4e6a8f..a10b0e26ce19 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -545,7 +545,7 @@ void rcu_read_unlock_special(struct task_struct *t)
545 list_del_init(&t->rcu_node_entry); 545 list_del_init(&t->rcu_node_entry);
546 t->rcu_blocked_node = NULL; 546 t->rcu_blocked_node = NULL;
547 trace_rcu_unlock_preempted_task(TPS("rcu_preempt"), 547 trace_rcu_unlock_preempted_task(TPS("rcu_preempt"),
548 rnp->gpnum, t->pid); 548 rnp->gp_seq, t->pid);
549 if (&t->rcu_node_entry == rnp->gp_tasks) 549 if (&t->rcu_node_entry == rnp->gp_tasks)
550 rnp->gp_tasks = np; 550 rnp->gp_tasks = np;
551 if (&t->rcu_node_entry == rnp->exp_tasks) 551 if (&t->rcu_node_entry == rnp->exp_tasks)
@@ -708,7 +708,7 @@ static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp)
708 t = container_of(rnp->gp_tasks, struct task_struct, 708 t = container_of(rnp->gp_tasks, struct task_struct,
709 rcu_node_entry); 709 rcu_node_entry);
710 trace_rcu_unlock_preempted_task(TPS("rcu_preempt-GPS"), 710 trace_rcu_unlock_preempted_task(TPS("rcu_preempt-GPS"),
711 rnp->gpnum, t->pid); 711 rnp->gp_seq, t->pid);
712 } 712 }
713 WARN_ON_ONCE(rnp->qsmask); 713 WARN_ON_ONCE(rnp->qsmask);
714} 714}