Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp321262imu; Wed, 2 Jan 2019 07:20:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN73LGpUn6EpX/g+N9q4gQqyLwOnR9tgwlW9DIwwpavGRklOpi/brnBeog7jVeQjR9BSwE4L X-Received: by 2002:a63:78cd:: with SMTP id t196mr13897801pgc.62.1546442408783; Wed, 02 Jan 2019 07:20:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546442408; cv=none; d=google.com; s=arc-20160816; b=bl8dMPv4tWG3Or7MAqenpg/SW/UV/Cl4ki0cRhGhvpO/pkqECEMLJJd7yBypSirUlD XipxqYHcHqERfS3rsuL0RAw/4WLyyl1F/BK249faJeZ8irRLS0NLdWeTYqeIBf2ADXnq XlHtslDmq9568X9C/7vwOIA5f4c4LYeVZLJxSq7Xh5mivBhEC8foehBcymFsk2kn2QJ7 romZXGxfCz7JUYi+Adn2w9C3fqOCJ4eEoFV2yp8+ESXBOuMt3ZQPBiaE0Pj3D9VNa1Fh U5CDrBL5Hu9rvf+NrQupNpelSyGBnU14wtGXJhKk6xYLYwK/ST8wFi7wvKzLGSJAi8KN vHTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date; bh=MLbYM0YjimOXn9PLjQ0QVlxd9DUjvi55xgSpHdIWhs8=; b=zcCzmKyd0FNmpUCMRPcDyPK7ylB5cLc7G9PvEAXPVqFDE67x4I/tEr6YTOWBAu56Es Y+C81igprSUOeyTxdQafuAsC3Ke8rjQdnnkk6hb4zgB+wFTqvP43i6Wm208fZNi58KXK LKj1y4SrUwksmjoPJfaD9r+XOpFHIsOWjMs4yiBuaSaEH6vBSqEoUOfd0MELJWtZZHky rGi7Rokg0fyzJOckbUX2vzvJPfbOMPArnnI5l3g3gPDGYILPHf9+GK4EuejKowUpaZNP XQ2TFYG+YuwqEgvFH4HYd6egNcJd7aOegI5iTcRhaT0G25rGt0Ld1DMlD66LbQs+3rgk marQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r4si48965529pgi.387.2019.01.02.07.19.53; Wed, 02 Jan 2019 07:20:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729525AbfABN1m (ORCPT + 99 others); Wed, 2 Jan 2019 08:27:42 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:49228 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729184AbfABN1m (ORCPT ); Wed, 2 Jan 2019 08:27:42 -0500 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id x02DOErX143702 for ; Wed, 2 Jan 2019 08:27:41 -0500 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0a-001b2d01.pphosted.com with ESMTP id 2pru041cbx-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 02 Jan 2019 08:27:40 -0500 Received: from localhost by e13.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 2 Jan 2019 13:27:39 -0000 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e13.ny.us.ibm.com (146.89.104.200) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 2 Jan 2019 13:27:36 -0000 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x02DRZAu15138826 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 2 Jan 2019 13:27:35 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C9CEFB2064; Wed, 2 Jan 2019 13:27:35 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 94BE9B2065; Wed, 2 Jan 2019 13:27:35 +0000 (GMT) Received: from paulmck-ThinkPad-W541 (unknown [9.85.153.1]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 2 Jan 2019 13:27:35 +0000 (GMT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id C569916C2DBB; Wed, 2 Jan 2019 05:27:53 -0800 (PST) Date: Wed, 2 Jan 2019 05:27:53 -0800 From: "Paul E. McKenney" To: Junchang Wang Cc: dave@stgolabs.net, josh@joshtriplett.org, Jonathan Corbet , rostedt@goodmis.org, Mathieu Desnoyers , jiangshanlai@gmail.com, joel@joelfernandes.org, linux-kernel , linux-doc@vger.kernel.org Subject: Re: [PATCH 2/2] torture.txt: update the list of supported torture types Reply-To: paulmck@linux.ibm.com References: <1546351400-16389-1-git-send-email-junchangwang@gmail.com> <1546351400-16389-3-git-send-email-junchangwang@gmail.com> <20190101175510.GW4170@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 19010213-0064-0000-0000-0000038F44DA X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010331; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000272; SDB=6.01140667; UDB=6.00593598; IPR=6.00920889; MB=3.00024938; MTD=3.00000008; XFM=3.00000015; UTC=2019-01-02 13:27:39 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19010213-0065-0000-0000-00003BE09899 Message-Id: <20190102132753.GZ4170@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-02_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901020122 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 02, 2019 at 11:48:00AM +0800, Junchang Wang wrote: > On Wed, Jan 2, 2019 at 1:54 AM Paul E. McKenney wrote: > > > > On Tue, Jan 01, 2019 at 10:03:20PM +0800, Junchang Wang wrote: > > > Torture types "rcu_bh" and "sched" were removed in commit "c770c82a23". > > > The name of torture type "rcu_busted" was changed to "busted" in commit > > > "b3c983142d". Two other types, "srcud" and "busted_srcud" were added in > > > commits "ca1d51ed98" and "2397d072f7", respectively. This patch updates > > > torture.txt accordingly. > > > > > > Signed-off-by: Junchang Wang > > > > Given that this section of this file duplicates the rcutorture kernel boot > > parameters called out in Documentation/admin-guide/kernel-parameters.txt, > > perhaps the best way forward is to instead remove this information from > > Documentation/RCU/torture.txt in favor of a reference to the information > > (with search string) in Documentation/admin-guide/kernel-parameters.txt. > > > > Thoughts? > > Hi Paul, > > Thanks for the comment; indeed the section "MODULE PARAMETERS" in > torture.txt duplicates the corresponding sections in > kernel-parameters.txt. I can resubmit a patch that (1) removes the > section "MODULE PARAMETERS" in torture.txt, and (2) add a single > sentence saying "Module parameters are detailed in > Documentation/admin-guide/kernel-parameters.txt". Does that sound > good? A patch that did that would be quite welcome! Thanx, Paul > Thanks, > --Junchang > > > > > Thanx, Paul > > > > > --- > > > Documentation/RCU/torture.txt | 15 +++++++-------- > > > 1 file changed, 7 insertions(+), 8 deletions(-) > > > > > > diff --git a/Documentation/RCU/torture.txt b/Documentation/RCU/torture.txt > > > index 55918b5..6395f0b 100644 > > > --- a/Documentation/RCU/torture.txt > > > +++ b/Documentation/RCU/torture.txt > > > @@ -155,20 +155,19 @@ torture_type The type of RCU to test, with string values as follows: > > > along with expedited, synchronous, and polling > > > variants. > > > > > > - "rcu_bh": rcu_read_lock_bh(), rcu_read_unlock_bh(), and > > > - call_rcu_bh(), along with expedited and synchronous > > > - variants. > > > - > > > - "rcu_busted": This tests an intentionally incorrect version > > > + "busted": This tests an intentionally incorrect version > > > of RCU in order to help test rcutorture itself. > > > > > > "srcu": srcu_read_lock(), srcu_read_unlock() and > > > call_srcu(), along with expedited and > > > synchronous variants. > > > > > > - "sched": preempt_disable(), preempt_enable(), and > > > - call_rcu_sched(), along with expedited, > > > - synchronous, and polling variants. > > > + "srcud": A second form of srcu that dynamically allocates > > > + and frees srcu_struct to test srcu cleanup code path. > > > + > > > + "busted_srcud": This torture type verifies rcutorture's ability > > > + to detect extensions of RCU read-side critical sections > > > + that are not handled. > > > > > > "tasks": voluntary context switch and call_rcu_tasks(), > > > along with expedited and synchronous variants. > > > -- > > > 2.7.4 > > > > > >