From patchwork Thu Aug 30 18:18:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 11041 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 713B823EFE for ; Thu, 30 Aug 2012 18:19:23 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 43766A1818E for ; Thu, 30 Aug 2012 18:18:47 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so3403526iaf.11 for ; Thu, 30 Aug 2012 11:19:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to: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=0doXhsh24+OJdEjKu1Na9O/RAz5GWhY+V61d+1H/IDs=; b=iuGyvWMLA8D6J0M9DWyB/siiU9dw3PEvdyzcJIjEyNhO3gYvxoeRuSy2J6y5QtskmE BbPzsNjmZ0xIPR6W3v1JNsf4IYxMd8emq1uHvo1pAgylpvi5f4KBJdomr26r0UEt97Qu iT30OAnP98cjMYo1F3RVtBNe/Vl/6UJx5lRvxsttK5YvFHcJWt3mEEzR3NKRoKiNVdVL rYd8URDFQg+hQfAvGvxIKPjzf8AR8Z4CM6qQKJDGAXTXojxDlS1ViE14unJKoNKh5w1s 27nyA/7JxvHRDuY8NuJIhfRRvz9RES4fYBu5OI07LKtwP0EYirniEFwPJKPpk0pXb8Z6 i4nA== Received: by 10.50.45.162 with SMTP id o2mr1909076igm.0.1346350762935; Thu, 30 Aug 2012 11:19:22 -0700 (PDT) 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.50.184.232 with SMTP id ex8csp24703igc; Thu, 30 Aug 2012 11:19:22 -0700 (PDT) Received: by 10.60.13.37 with SMTP id e5mr5534519oec.98.1346350762347; Thu, 30 Aug 2012 11:19:22 -0700 (PDT) Received: from e9.ny.us.ibm.com (e9.ny.us.ibm.com. [32.97.182.139]) by mx.google.com with ESMTPS id 10si3105285oef.1.2012.08.30.11.19.21 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 30 Aug 2012 11:19:22 -0700 (PDT) Received-SPF: pass (google.com: domain of paulmck@linux.vnet.ibm.com designates 32.97.182.139 as permitted sender) client-ip=32.97.182.139; Authentication-Results: mx.google.com; spf=pass (google.com: domain of paulmck@linux.vnet.ibm.com designates 32.97.182.139 as permitted sender) smtp.mail=paulmck@linux.vnet.ibm.com Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 30 Aug 2012 14:19:21 -0400 Received: from d01dlp02.pok.ibm.com (9.56.250.167) by e9.ny.us.ibm.com (192.168.1.109) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 30 Aug 2012 14:19:18 -0400 Received: from d01relay03.pok.ibm.com (d01relay03.pok.ibm.com [9.56.227.235]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 7E2766E8043 for ; Thu, 30 Aug 2012 14:19:17 -0400 (EDT) Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d01relay03.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q7UIJH2I147420 for ; Thu, 30 Aug 2012 14:19:17 -0400 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q7UIIhsD018979 for ; Thu, 30 Aug 2012 12:18:51 -0600 Received: from paulmck-ThinkPad-W500 (sig-9-77-132-62.mts.ibm.com [9.77.132.62]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q7UIIg60018749; Thu, 30 Aug 2012 12:18:43 -0600 Received: by paulmck-ThinkPad-W500 (Postfix, from userid 1000) id 9EE49EA834; Thu, 30 Aug 2012 11:18:40 -0700 (PDT) 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, eric.dumazet@gmail.com, darren@dvhart.com, fweisbec@gmail.com, sbw@mit.edu, patches@linaro.org, "Paul E. McKenney" Subject: [PATCH tip/core/rcu 14/23] rcu: Remove now-unused rcu_state fields Date: Thu, 30 Aug 2012 11:18:29 -0700 Message-Id: <1346350718-30937-14-git-send-email-paulmck@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.8 In-Reply-To: <1346350718-30937-1-git-send-email-paulmck@linux.vnet.ibm.com> References: <20120830181811.GA29154@linux.vnet.ibm.com> <1346350718-30937-1-git-send-email-paulmck@linux.vnet.ibm.com> X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12083018-7182-0000-0000-000002742F0F X-Gm-Message-State: ALoCoQkocrPiWL4DXG3J5UQM8Z1GCK1UIm3QlMRPwFaVPz/CgmRrX/yoM52njvKmG/YP3zCV7oKU From: "Paul E. McKenney" Moving the RCU grace-period processing to a kthread and adjusting the tracing resulted in two of the rcu_state structure's fields being unused. This commit therefore removes them. Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett --- kernel/rcutree.h | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/kernel/rcutree.h b/kernel/rcutree.h index 2d4cc18..8f0293c 100644 --- a/kernel/rcutree.h +++ b/kernel/rcutree.h @@ -378,13 +378,6 @@ struct rcu_state { u8 fqs_state ____cacheline_internodealigned_in_smp; /* Force QS state. */ - u8 fqs_active; /* force_quiescent_state() */ - /* is running. */ - u8 fqs_need_gp; /* A CPU was prevented from */ - /* starting a new grace */ - /* period because */ - /* force_quiescent_state() */ - /* was running. */ u8 boost; /* Subject to priority boost. */ unsigned long gpnum; /* Current gp number. */ unsigned long completed; /* # of last completed gp. */