Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756108Ab2K0P5C (ORCPT ); Tue, 27 Nov 2012 10:57:02 -0500 Received: from e9.ny.us.ibm.com ([32.97.182.139]:53409 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755698Ab2K0P5A (ORCPT ); Tue, 27 Nov 2012 10:57:00 -0500 Date: Tue, 27 Nov 2012 07:18:32 -0800 From: "Paul E. McKenney" To: Li Zhong Cc: linux-next list , LKML , dipankar@in.ibm.com Subject: Re: [PATCH rcu] use new nesting value for rcu_dyntick trace in rcu_eqs_enter_common Message-ID: <20121127151831.GU2474@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <1353993325.14050.49.camel@ThinkPad-T5421.cn.ibm.com> <1353995907.14050.60.camel@ThinkPad-T5421.cn.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1353995907.14050.60.camel@ThinkPad-T5421.cn.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12112715-7182-0000-0000-0000035D8D99 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1151 Lines: 36 On Tue, Nov 27, 2012 at 01:58:27PM +0800, Li Zhong wrote: > This patch uses the real new value of dynticks_nesting instead of 0 in > rcu_eqs_enter_common(). > > Signed-off-by: Li Zhong Good catch! Queued for 3.9. Thanx, Paul > --- > kernel/rcutree.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/rcutree.c b/kernel/rcutree.c > index 7733eb5..6b7e314 100644 > --- a/kernel/rcutree.c > +++ b/kernel/rcutree.c > @@ -339,7 +339,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, > bool user) > { > - trace_rcu_dyntick("Start", oldval, 0); > + trace_rcu_dyntick("Start", oldval, rdtp->dynticks_nesting); > if (!user && !is_idle_task(current)) { > struct task_struct *idle = idle_task(smp_processor_id()); > > -- > 1.7.11.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/