Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6808973imm; Wed, 27 Jun 2018 13:53:04 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeaMcQYeaEkMbwgwtsyv+RGhWe3RWk86qCTSHkT8NFxafY7C+L0SfFk1puwf6coQlZSikxa X-Received: by 2002:a17:902:ac83:: with SMTP id h3-v6mr18153plr.17.1530132784029; Wed, 27 Jun 2018 13:53:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530132784; cv=none; d=google.com; s=arc-20160816; b=w9TuZM5S/Q33Gif7c0W5TGUbXhHa64EgKulzGzVt67odufPIS8w7qo6BTnVaUGB7+9 F98BJD4w7OJnrZFIsP9uYFnaaeKJGhewMDjBVUJQtj0TmIeDHlmHUTLuyl/KkrfIbQxf Ql+Bv6afOaJG8sdb6+6052YWO+U2YFZxNJYe7rZyQ5lyKW2hsj9hAotywK/1DrcIuQdg J8dhS2bhpc5ghZ2KN2dX7kmjJyHn1hlvg9sRGY5yZm8HUarew3Yasw8h+NI2aSyVWhHW JpkbWN2g1r/Km+oFAxDMBMCIfODuuNYd8udnpmLV1Rz4Q9bvWWLEt0rCahncB2xNOA9Z KoxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=VKlHrLjA9H2BVXbxoPXsKTfbMXvMJO1cuswJHyeqLOc=; b=jp6waDeDaXbSooKnhDEWa43c/eMtugp2g6ZBWj0/z88379XB1RzOhrgenrXgEgkjdW Mn12CpXlxlLJ3v+9uwmjGV+9Ud4wznAO9bFtzq3jLe2+JRy5HNRoupxF21z7hzDtH7YQ zk6yxWV3rC78x+RLxMd8bX/FDruRl+GHqLankk2mf50c0hU2kARiOObxJwjQE8zF3aH7 EzS03NLbIOh6O5ikTTCAOatEvsYz3IqlRkN2Fp+UPm5uSI+MRx70qRor3/gzTyGZWxV9 xXo8gDBfmqWgoY9drjPw9B1hm2USpdxNUFWHGgBQkwGV3+Cr4QFWhXnTuOT6USUb4e75 TEvA== 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 e16-v6si5008451plj.76.2018.06.27.13.52.49; Wed, 27 Jun 2018 13:53:03 -0700 (PDT) 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 S965843AbeF0UrW (ORCPT + 99 others); Wed, 27 Jun 2018 16:47:22 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:58058 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935010AbeF0UrU (ORCPT ); Wed, 27 Jun 2018 16:47:20 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w5RKdBn4081747 for ; Wed, 27 Jun 2018 16:47:20 -0400 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0a-001b2d01.pphosted.com with ESMTP id 2jvehp8cxu-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 27 Jun 2018 16:47:20 -0400 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 27 Jun 2018 16:47:18 -0400 Received: from b01cxnp23032.gho.pok.ibm.com (9.57.198.27) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 27 Jun 2018 16:47:14 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w5RKlDeO19071246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 27 Jun 2018 20:47:13 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9F4E2B2065; Wed, 27 Jun 2018 16:47:05 -0400 (EDT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 79A7FB2067; Wed, 27 Jun 2018 16:47:05 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.159]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 27 Jun 2018 16:47:05 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 9738A16C5F19; Wed, 27 Jun 2018 13:49:20 -0700 (PDT) From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org, "Paul E. McKenney" Subject: [PATCH RFC tip/core/rcu 2/2] rcutorture: Handle extended "rcu" read-side critical sections Date: Wed, 27 Jun 2018 13:49:15 -0700 X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180627204835.GA25456@linux.vnet.ibm.com> References: <20180627204835.GA25456@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18062720-0060-0000-0000-000002836A8C X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009265; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01053221; UDB=6.00540000; IPR=6.00831146; MB=3.00021889; MTD=3.00000008; XFM=3.00000015; UTC=2018-06-27 20:47:18 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18062720-0061-0000-0000-00004598D993 Message-Id: <20180627204915.27253-2-paulmck@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-27_06:,, 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 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1806270218 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit makes the "rcu" torture type test extended read-side critical sections in order to test the deferral of RCU-preempt quiescent-state testing. In CONFIG_PREEMPT=n kernels, this simply duplicates the setup already in place for the "sched" torture type. Signed-off-by: Paul E. McKenney --- kernel/rcu/rcutorture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c index c596c6f1e457..c55d1483886e 100644 --- a/kernel/rcu/rcutorture.c +++ b/kernel/rcu/rcutorture.c @@ -431,6 +431,7 @@ static struct rcu_torture_ops rcu_ops = { .stats = NULL, .irq_capable = 1, .can_boost = rcu_can_boost(), + .extendables = RCUTORTURE_MAX_EXTEND, .name = "rcu" }; -- 2.17.1