From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751291AbeAYGag (ORCPT ); Thu, 25 Jan 2018 01:30:36 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:36470 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751199AbeAYGaD (ORCPT ); Thu, 25 Jan 2018 01:30:03 -0500 Date: Wed, 24 Jan 2018 22:18:15 -0800 From: "Paul E. McKenney" To: lianglihao@huawei.com Cc: guohanjun@huawei.com, heng.z@huawei.com, hb.chen@huawei.com, lihao.liang@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 06/16] rcuperf: Set gp_exp to true for tests to run Reply-To: paulmck@linux.vnet.ibm.com References: <1516694381-20333-1-git-send-email-lianglihao@huawei.com> <1516694381-20333-7-git-send-email-lianglihao@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516694381-20333-7-git-send-email-lianglihao@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18012506-0048-0000-0000-0000022C0238 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008423; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000247; SDB=6.00978112; UDB=6.00495877; IPR=6.00757813; BA=6.00005786; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00019197; XFM=3.00000015; UTC=2018-01-25 06:29:56 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18012506-0049-0000-0000-000043E71051 Message-Id: <20180125061815.GV3741@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-25_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1801250090 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 23, 2018 at 03:59:31PM +0800, lianglihao@huawei.com wrote: > From: Lihao Liang > > Signed-off-by: Lihao Liang > --- > kernel/rcu/rcuperf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/rcu/rcuperf.c b/kernel/rcu/rcuperf.c > index ea80fa3e..baccc123 100644 > --- a/kernel/rcu/rcuperf.c > +++ b/kernel/rcu/rcuperf.c > @@ -60,7 +60,7 @@ MODULE_AUTHOR("Paul E. McKenney "); > #define VERBOSE_PERFOUT_ERRSTRING(s) \ > do { if (verbose) pr_alert("%s" PERF_FLAG "!!! %s\n", perf_type, s); } while (0) > > -torture_param(bool, gp_exp, false, "Use expedited GP wait primitives"); > +torture_param(bool, gp_exp, true, "Use expedited GP wait primitives"); This is fine as a convenience for internal testing, but the usual way to make this happen is using the rcuperf.gp_exp kernel boot parameter. Or was that not working for you? Thanx, Paul > torture_param(int, holdoff, 10, "Holdoff time before test start (s)"); > torture_param(int, nreaders, -1, "Number of RCU reader threads"); > torture_param(int, nwriters, -1, "Number of RCU updater threads"); > -- > 2.14.1.729.g59c0ea183 >