From patchwork Sat Jan 5 17:09:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13822 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 31BB823E2E for ; Sat, 5 Jan 2013 17:10:12 +0000 (UTC) Received: from mail-vb0-f50.google.com (mail-vb0-f50.google.com [209.85.212.50]) by fiordland.canonical.com (Postfix) with ESMTP id D8885A19876 for ; Sat, 5 Jan 2013 17:10:11 +0000 (UTC) Received: by mail-vb0-f50.google.com with SMTP id ft2so5962556vbb.37 for ; Sat, 05 Jan 2013 09:10:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-content-scanned:x-cbid:x-gm-message-state; bh=hQGXnonoG6sEmCyb+g+CzJinWBlmLKy89CIU5H1f2V4=; b=ZAT9VMyQx92Wmym5Sqhc8cAzdt52IXnjhvkItnJ79d2aVz/V6cb9pgvJO66HuDjSP1 pCksj6ahOwTAsU7enAYOjt5gaCJONU6Sz253r1JeH4NY+fYOxntyUkCIZY9ui8r9NtYX 9y2RQJMBClQM3mVUlvvW7z2QGL3nuuCwSuBe0wl6DKFw/eLkU1CIHSh4TsG+mW9ybV+F czkQ/cFrU4cT/hrRW9rnCOns2+xuormsjeJM5nbv3aRdc7T93SS5wJw9YO+Ao/wthPfh 6MoW9cPXOBN4D6MFXW8M5hFExXVwORBTK+p2xkcdbAg02CG5v/x0AIBsCnix65n7D382 d28A== X-Received: by 10.52.18.147 with SMTP id w19mr69517915vdd.94.1357405811409; Sat, 05 Jan 2013 09:10:11 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp16342veb; Sat, 5 Jan 2013 09:10:11 -0800 (PST) X-Received: by 10.50.152.198 with SMTP id va6mr1887036igb.42.1357405809286; Sat, 05 Jan 2013 09:10:09 -0800 (PST) Received: from e33.co.us.ibm.com (e33.co.us.ibm.com. [32.97.110.151]) by mx.google.com with ESMTPS id ub7si2619705igb.30.2013.01.05.09.10.08 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 05 Jan 2013 09:10:09 -0800 (PST) Received-SPF: pass (google.com: domain of paulmck@linux.vnet.ibm.com designates 32.97.110.151 as permitted sender) client-ip=32.97.110.151; Authentication-Results: mx.google.com; spf=pass (google.com: domain of paulmck@linux.vnet.ibm.com designates 32.97.110.151 as permitted sender) smtp.mail=paulmck@linux.vnet.ibm.com Received: from /spool/local by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 5 Jan 2013 10:10:08 -0700 Received: from d03dlp01.boulder.ibm.com (9.17.202.177) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sat, 5 Jan 2013 10:10:03 -0700 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id A65631FF003F for ; Sat, 5 Jan 2013 10:09:52 -0700 (MST) Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r05HA2sq189246 for ; Sat, 5 Jan 2013 10:10:02 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r05H9vce017773 for ; Sat, 5 Jan 2013 10:10:02 -0700 Received: from paulmck-ThinkPad-W500 ([9.80.23.97]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id r05H9jKR017218; Sat, 5 Jan 2013 10:09:51 -0700 Received: by paulmck-ThinkPad-W500 (Postfix, from userid 1000) id 76CF9E4D65; Sat, 5 Jan 2013 09:09:40 -0800 (PST) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: mingo@elte.hu, laijs@cn.fujitsu.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@polymtl.ca, josh@joshtriplett.org, niv@us.ibm.com, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, Valdis.Kletnieks@vt.edu, dhowells@redhat.com, edumazet@google.com, darren@dvhart.com, fweisbec@gmail.com, sbw@mit.edu, patches@linaro.org, Li Zhong , "Paul E. McKenney" Subject: [PATCH tip/core/rcu 3/6] rcu: Use new nesting value for rcu_dyntick trace in rcu_eqs_enter_common Date: Sat, 5 Jan 2013 09:09:35 -0800 Message-Id: <1357405778-13903-3-git-send-email-paulmck@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.8 In-Reply-To: <1357405778-13903-1-git-send-email-paulmck@linux.vnet.ibm.com> References: <20130105170920.GA13766@linux.vnet.ibm.com> <1357405778-13903-1-git-send-email-paulmck@linux.vnet.ibm.com> X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13010517-2398-0000-0000-00000FBC60A4 X-Gm-Message-State: ALoCoQmzzGn11ZJ8bRSdJwMIOjzVDC6MHAX39tN+90hPhG6bYkfC0FowZnhq0l0srFbH8Gs5d1Wq From: Li Zhong This patch uses the real new value of dynticks_nesting instead of 0 in rcu_eqs_enter_common(). Signed-off-by: Li Zhong Signed-off-by: Paul E. McKenney --- kernel/rcutree.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/rcutree.c b/kernel/rcutree.c index cceda76..d145796 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c @@ -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, 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());