Messages in this thread Patch in this message | | | From | Neeraj Upadhyay <> | Subject | [PATCH] rcu: Correct cpu offline trace in rcutree_dying_cpu | Date | Mon, 11 Jan 2021 17:15:58 +0530 |
| |
Correctly trace whether the outgoing cpu blocks current gp in rcutree_dying_cpu().
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org> --- kernel/rcu/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 097990a..1f4bff4 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -2364,7 +2364,7 @@ int rcutree_dying_cpu(unsigned int cpu) blkd = !!(rnp->qsmask & rdp->grpmask); trace_rcu_grace_period(rcu_state.name, READ_ONCE(rnp->gp_seq), - blkd ? TPS("cpuofl") : TPS("cpuofl-bgp")); + blkd ? TPS("cpuofl-bgp") : TPS("cpuofl")); return 0; } -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
| |