From patchwork Fri Jun 15 18:57:50 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: 9333 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 0044923E53 for ; Fri, 15 Jun 2012 18:59:05 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id C3941A18818 for ; Fri, 15 Jun 2012 18:59:04 +0000 (UTC) Received: by yhpp61 with SMTP id p61so2994012yhp.11 for ; Fri, 15 Jun 2012 11:59:04 -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=ehaVPIj/t76rwWKdhJhTBYq4TeJFHZvZTw8EElAhfmU=; b=VwFLQyN42sXf2JBF70ieBEl5EWaBl6W94Ui5D3g77mArn3gSamKGThY58CZrOxF0KN RyjcMFiT/lFy8mQhFgj3wd+4WeigqGWUkawh2WST7V2GhFeMkyxQ9atEpIjZCq9BsUbM DxxpTDz3PelVyZnqjOqgy1JUDmT8RpUhExlniwTZG9Mam1Usi6qngZ7oY0UzIFmV3h/4 SzDzwSWClu3itsqm7K44xeyQCvpIaC1XMYDb8+6KT+qN98w3wCkiZinkvBBXb84bVrFT Z0h0Zb1KM4yYWwfBtXTsHOckCMGKdZ+NBX+fi7YcnmKIkuttEXhyUmbMG7kNQ8XKk98Q Wq6A== Received: by 10.50.163.99 with SMTP id yh3mr3010258igb.53.1339786743979; Fri, 15 Jun 2012 11:59:03 -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.231.24.148 with SMTP id v20csp163710ibb; Fri, 15 Jun 2012 11:59:03 -0700 (PDT) Received: by 10.68.219.135 with SMTP id po7mr21896103pbc.149.1339786743207; Fri, 15 Jun 2012 11:59:03 -0700 (PDT) Received: from e35.co.us.ibm.com (e35.co.us.ibm.com. [32.97.110.153]) by mx.google.com with ESMTPS id ou5si17470084pbb.202.2012.06.15.11.59.02 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Jun 2012 11:59:03 -0700 (PDT) Received-SPF: pass (google.com: domain of paulmck@linux.vnet.ibm.com designates 32.97.110.153 as permitted sender) client-ip=32.97.110.153; Authentication-Results: mx.google.com; spf=pass (google.com: domain of paulmck@linux.vnet.ibm.com designates 32.97.110.153 as permitted sender) smtp.mail=paulmck@linux.vnet.ibm.com Received: from /spool/local by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 15 Jun 2012 12:59:01 -0600 Received: from d03dlp01.boulder.ibm.com (9.17.202.177) by e35.co.us.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 15 Jun 2012 12:58:22 -0600 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 22BF41FF001C for ; Fri, 15 Jun 2012 18:58:15 +0000 (WET) Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q5FIw6lr174700 for ; Fri, 15 Jun 2012 12:58:10 -0600 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 q5FIvw3X023806 for ; Fri, 15 Jun 2012 12:58:06 -0600 Received: from paulmck-ThinkPad-W500 ([9.47.24.152]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q5FIvvNY023765; Fri, 15 Jun 2012 12:57:57 -0600 Received: by paulmck-ThinkPad-W500 (Postfix, from userid 1000) id 5A97EE527B; Fri, 15 Jun 2012 11:57:57 -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, patches@linaro.org, "Paul E. McKenney" Subject: [PATCH tip/core/rcu 2/6] rcu: Rationalize ordering of torture_ops list Date: Fri, 15 Jun 2012 11:57:50 -0700 Message-Id: <1339786674-25265-2-git-send-email-paulmck@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.8 In-Reply-To: <1339786674-25265-1-git-send-email-paulmck@linux.vnet.ibm.com> References: <20120615185725.GA25163@linux.vnet.ibm.com> <1339786674-25265-1-git-send-email-paulmck@linux.vnet.ibm.com> X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12061518-6148-0000-0000-000006BC9DB6 X-Gm-Message-State: ALoCoQkHAWRhBjQvF7fcCuHPzSIzhfxHpnSMqH7o88iwQ9U0TRm8kA7Xtfy1HjhtG53DZpNKFaJq From: "Paul E. McKenney" Move the raw SRCU interfaces out of the middle of the normal SRCU interfaces. Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett --- kernel/rcutorture.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index e66b34a..9850479 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c @@ -1908,8 +1908,8 @@ rcu_torture_init(void) static struct rcu_torture_ops *torture_ops[] = { &rcu_ops, &rcu_sync_ops, &rcu_expedited_ops, &rcu_bh_ops, &rcu_bh_sync_ops, &rcu_bh_expedited_ops, - &srcu_ops, &srcu_sync_ops, &srcu_raw_ops, - &srcu_raw_sync_ops, &srcu_expedited_ops, + &srcu_ops, &srcu_sync_ops, &srcu_expedited_ops, + &srcu_raw_ops, &srcu_raw_sync_ops, &sched_ops, &sched_sync_ops, &sched_expedited_ops, }; mutex_lock(&fullstop_mutex);