Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp12058521imu; Tue, 1 Jan 2019 13:09:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN7vy8ZwzL+bm0GK6acFW41RlT1bVPk66DD9NoYXHtZy8kR3CAhiDaH6fOnBqOlF5Kfx97rW X-Received: by 2002:a63:7154:: with SMTP id b20mr11462726pgn.342.1546376958846; Tue, 01 Jan 2019 13:09:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546376958; cv=none; d=google.com; s=arc-20160816; b=uvEdlS7JcoTqknKtMjr9sbVSEGVgAsB07NaQXfj218xctJIZigANYSBJm74kjYzlyk fMDl3FYwcw5V96f64c2eMKbQcpmoVSSv2iMNyGh6wpJEMuh7B+5FrhLsDS0Kv0W8uQRe 1WQAJvg7gSF/MCAw7S3EL2RMOBl1xRjRC6PAML3m2MaMF3GAVol8Rdj90NJF/U8sB/yi 8ghflbF90J/t6r87jTDiKXMsFh2sWhJd/X6QnrXkvVFQKNP7muaSRKbJJ9h0GYx7NM27 aBTHZXH2x8ObOWGbMI5D9vAheZFQZTr/A60KIvJ2UFdTR6RRBMwRxhZgadz6FVmUSuRt +5Xw== 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=WBSHKXxsJ8A5QiIQSrc4DNOVl+1jB/tgMai+fTsBfdo=; b=T/brEfxUk4bQddQF5EPy2fpesQ1amYMWNlnFifT+8mp8vMYua5LnrHVEPDuhUFs5j4 uCdoBFO5A4epyiUTO7LtEzU+BF7wboPBQnZoLW7nw1ZaablNmhy741AI1sUsiC+RlSCZ 54JcVbJx9ZxXMU9LoAgbVgK9S3TXcUeLCv7prfZUBcy/bCiEkISKFTGm5OdwPgX/QGJV PkpvU47J1EJoK8a4ralNVDejgFJupSPTLjdYdgB7xxKFzCghnjFhm4Czdc32+1MMeuvV rk+wdNPlhEFD8aBEwEtd+xH8PEpuQkm4Z74kIZKAYj9+4sCNcOthrVpCVIxC96aWPHdb KwoA== 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 q189si50249555pfb.62.2019.01.01.13.09.03; Tue, 01 Jan 2019 13:09:18 -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 S1726453AbfAARy7 (ORCPT + 99 others); Tue, 1 Jan 2019 12:54:59 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47138 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726190AbfAARy7 (ORCPT ); Tue, 1 Jan 2019 12:54:59 -0500 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id x01HsD93093131 for ; Tue, 1 Jan 2019 12:54:57 -0500 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0b-001b2d01.pphosted.com with ESMTP id 2pr54n0dxc-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 01 Jan 2019 12:54:57 -0500 Received: from localhost by e13.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 1 Jan 2019 17:54:57 -0000 Received: from b01cxnp22033.gho.pok.ibm.com (9.57.198.23) 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) Tue, 1 Jan 2019 17:54:54 -0000 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x01Hsrxg17694774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 1 Jan 2019 17:54:53 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 159C5B2065; Tue, 1 Jan 2019 17:54:53 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E7EC6B2064; Tue, 1 Jan 2019 17:54:52 +0000 (GMT) Received: from paulmck-ThinkPad-W541 (unknown [9.85.153.1]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Tue, 1 Jan 2019 17:54:52 +0000 (GMT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 5F06416C3373; Tue, 1 Jan 2019 09:55:10 -0800 (PST) Date: Tue, 1 Jan 2019 09:55:10 -0800 From: "Paul E. McKenney" To: Junchang Wang Cc: dave@stgolabs.net, josh@joshtriplett.org, corbet@lwn.net, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, joel@joelfernandes.org, linux-kernel@vger.kernel.org, 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1546351400-16389-3-git-send-email-junchangwang@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 19010117-0064-0000-0000-0000038EDE5B X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010329; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000272; SDB=6.01140283; UDB=6.00593363; IPR=6.00920498; MB=3.00024931; MTD=3.00000008; XFM=3.00000015; UTC=2019-01-01 17:54:56 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19010117-0065-0000-0000-00003BDE8B0B Message-Id: <20190101175510.GW4170@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-01_09:,, 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-1901010164 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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 >