Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp11885588imu; Tue, 1 Jan 2019 08:56:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/XBy5Y7U9dtkwmt/CyU9uoKZeH6c4qnlABBk1N5pUYWSVSg3SLK/1AbGKhn16tY+UV0PFXw X-Received: by 2002:a62:8096:: with SMTP id j144mr42377601pfd.140.1546361808065; Tue, 01 Jan 2019 08:56:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546361808; cv=none; d=google.com; s=arc-20160816; b=UWVPK4bkrlxiE20PfeofVXKy2ucTmhdURWmclcDYpkCfDwi1oEio4AXDI+QH4eQwQn YWdGKjMI3rLMD5w6ekkEn188/wzAQ8UpJcz2RNMfF+BT7yWtUp0+0Fj0fsJKlljqAlzy gwI/tPQSFRhFpLruYPMZxIukV+wiqHNcSPT1UDWF0HaQTb7fMPJHTkQ1eAMqtkvpzwR2 OJd0iHm9nVw7giAZ+gBuekcoqWR77LHZ9j814y6HaLsdux6k+BR8XLqqIFzLRxIRVz3k ClAdKClH1d516dfXMBN9H4b5ItykCjcAZLD5bcOzTtEQH5IZd9KDOr7QMsBYyc0hY/g4 WGKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=kqhujvgReB4vtcOUAgUjvrtfVqaQxe9agDi83YeRN+E=; b=jY7yTXuHnZzgj5X5mWf7mKyVk1GVwmDXSUygOLeGENmT1RuB0NmRE8UShqHb+lwnkx W3QnkF4si7AEl5A7HwJmCFiumKGbyKyYHxfHSP50cyHBGI4Y1nhx/xktCto1g1ewc5No vS7xHWb1OPEx/TKZ9r/tStKP5nNSiXb7Wm6Wopp1mBwT18gPYFqWv1tjDO1tkxxwjgN6 6zUgt5IBgdtGtLH2or8wTyldGBmW+W2nzVEXqH2wxP9syMShEIH7yWnR7Hv84OIOH+ux DNh4DZqErH86aWxlEKS+mAhK5VGckOw1SsLlBAQEbCOWgMBuqS1kqAj38frAYFUKcwxy auSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mlGdaEbK; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f17si6456966pgj.208.2019.01.01.08.56.30; Tue, 01 Jan 2019 08:56:48 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mlGdaEbK; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728881AbfAAOFG (ORCPT + 99 others); Tue, 1 Jan 2019 09:05:06 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:33666 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726480AbfAAOFF (ORCPT ); Tue, 1 Jan 2019 09:05:05 -0500 Received: by mail-pf1-f193.google.com with SMTP id c123so14136039pfb.0; Tue, 01 Jan 2019 06:05:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kqhujvgReB4vtcOUAgUjvrtfVqaQxe9agDi83YeRN+E=; b=mlGdaEbK1yIl6+fLTIgHMITrZz1MqjLlmKI5HM7e1D8cOBR1CCPw4DwSGa30/PLuxq kehbo8Yd8y0GK+4WjZKNXEynU6gkRH2p646udtkPE5PKIqp66Koxxb85IL+L0YnrmRx+ Rg1DSL4fz3hPmGxG/TB7nA3joyWdhIQI0d+T17PbsJSMq+RqPXoJ8CrXT7W8BZJ/hWJk mHJYuukn+rmiLxFUb/hvM+ilAfxCTFRWSaOvHu4IpQudoWQFIfHylhsB/GY0CVw2KCPs Nn4tjBN+1DsiRXyHD0IYPf24nk7emhuXVX2gQpIszpWupgzXaykAKDN7JShdhmlFZ/KH iEXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kqhujvgReB4vtcOUAgUjvrtfVqaQxe9agDi83YeRN+E=; b=sPxMHqN0cOqSKYU0gpsYzckypWgOPunYpsoj3E4iff20CTnq2fdeLqG836wfnMIcOG JIbJyAFM9FdqOeVlTa5SNYBZQu8B6xFHVkgha+3pyiKj4DJhETzjOGBPReANUFFEGah9 UIJkSggIMvi42hvNvUPg29j2svcoll6+68ipcT1lzXJzpqsnoTrtIG47k/FdGn8mw/Hx qPv4PryXlbo0ajh4E1YY/b3GPCiiQhmBL7A9hpjTJSxSOnag7pCsYk7VVLSuzGtaWzYU Mv+bB0ABFKeMM6x/wkRIZZDxbaantAfXHgygkdSBXB5WyJ5k5O+wPdC5620x9O2VY1TZ ZqfQ== X-Gm-Message-State: AJcUukf+wx+fzWnIyPq2smmLKCJl/NUErYdobp+pJ4Zo05H77bsOg7RS pIoFDyJ7MSkt3IKhEwqlMQ== X-Received: by 2002:a63:1204:: with SMTP id h4mr10621476pgl.51.1546351504860; Tue, 01 Jan 2019 06:05:04 -0800 (PST) Received: from localhost.localdomain (li1566-229.members.linode.com. [139.162.86.229]) by smtp.gmail.com with ESMTPSA id v14sm121117477pgf.3.2019.01.01.06.04.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Jan 2019 06:05:04 -0800 (PST) From: Junchang Wang To: dave@stgolabs.net, paulmck@linux.ibm.com, josh@joshtriplett.org, corbet@lwn.net, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, joel@joelfernandes.org Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Junchang Wang Subject: [PATCH 2/2] torture.txt: update the list of supported torture types Date: Tue, 1 Jan 2019 22:03:20 +0800 Message-Id: <1546351400-16389-3-git-send-email-junchangwang@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1546351400-16389-1-git-send-email-junchangwang@gmail.com> References: <1546351400-16389-1-git-send-email-junchangwang@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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