Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bdc2b7d authored by Li Zhong's avatar Li Zhong Committed by Paul E. McKenney
Browse files

rcu: Use new nesting value for rcu_dyntick trace in rcu_eqs_enter_common



This patch uses the real new value of dynticks_nesting instead of 0 in
rcu_eqs_enter_common().

Signed-off-by: default avatarLi Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent 62e3cb14
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -336,7 +336,7 @@ static struct rcu_node *rcu_get_root(struct rcu_state *rsp)
static void rcu_eqs_enter_common(struct rcu_dynticks *rdtp, long long oldval,
static void rcu_eqs_enter_common(struct rcu_dynticks *rdtp, long long oldval,
				bool user)
				bool user)
{
{
	trace_rcu_dyntick("Start", oldval, 0);
	trace_rcu_dyntick("Start", oldval, rdtp->dynticks_nesting);
	if (!user && !is_idle_task(current)) {
	if (!user && !is_idle_task(current)) {
		struct task_struct *idle = idle_task(smp_processor_id());
		struct task_struct *idle = idle_task(smp_processor_id());