From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F360AC433F5 for ; Tue, 19 Apr 2022 00:15:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239815AbiDSASS (ORCPT ); Mon, 18 Apr 2022 20:18:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238867AbiDSASI (ORCPT ); Mon, 18 Apr 2022 20:18:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B41F140B4; Mon, 18 Apr 2022 17:15:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BB1F661330; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D769C385A8; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=KulOCDaNqGZ/wljeeFNucBYC2d7vGuKyhnnCjYaSZ40=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iZyvZLMAOmTR2AjS1hGsalgqq177bHFa93tgxV+JYOOHl47UL+/xxTNlqVNIrH55Q 9J/FLgDYR2tvLkHIrMJLK5EHtTE2wR2voGeTUf2HuB8IQDTP1djbKiRuDEqY9jFGzT OkAKP0jBSn+/ZCbB1HEnlcFIHPlfp2EpslR+ugh6Y4Iz1+2BhRMACromb1eC0bmhi8 YVC15P07GJAhHIhqyBU72gHbZDxftZ+zgTbgv/riB4zMpIqMIWGHOt55JLrRSNxMAl 3lDpA6CxdesuZwiWi6jP8qZrGS8Ra7ho8YlftMcgBCphbv5flEaGAOASj3jnXoADxX xztFJIQTTjl6g== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C173C5C04BD; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 01/12] torture: Reposition so that $? collects ssh code in torture.sh Date: Mon, 18 Apr 2022 17:15:14 -0700 Message-Id: <20220419001525.3950505-1-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" An "echo" slipped in between an "ssh" and the "ret=3D$?" that was intended to collect its exit code, which prevents torture.sh from detecting "ssh" failure. This commit therefore reassociates the two. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/kvm-remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/kvm-remote.sh b/tools/t= esting/selftests/rcutorture/bin/kvm-remote.sh index 8c4c1e4792d0..03d7dede5f9b 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-remote.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-remote.sh @@ -139,13 +139,13 @@ chmod +x $T/bin/kvm-remote-*.sh for i in $systems do ncpus=3D"`ssh $i getconf _NPROCESSORS_ONLN 2> /dev/null`" - echo $i: $ncpus CPUs " " `date` | tee -a "$oldrun/remote-log" ret=3D$? if test "$ret" -ne 0 then echo System $i unreachable, giving up. | tee -a "$oldrun/remote-log" exit 4 fi + echo $i: $ncpus CPUs " " `date` | tee -a "$oldrun/remote-log" done =20 # Download and expand the tarball on all systems. --=20 2.31.1.189.g2e36527f23 From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 678C1C433F5 for ; Tue, 19 Apr 2022 00:16:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239987AbiDSASx (ORCPT ); Mon, 18 Apr 2022 20:18:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239911AbiDSASM (ORCPT ); Mon, 18 Apr 2022 20:18:12 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B740F140BD; Mon, 18 Apr 2022 17:15:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 63F7AB81128; Tue, 19 Apr 2022 00:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20FAFC385AD; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=qQJdeszLavvK5OgUBHVTt0BjmEDQYA/8LDdOWwnnjWc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ax09gEw6IglFcoNcoHWv8Fkf4wUiUYo8xmtTlYnMwAURW7xm/KBqZDDIYimcK4AyY ZtCJx+NO28TXixwROBLhzndqFG4t1snXlg2o0Uvx7AtnECmm+V7JeAvLwD8vpm2L4G Fon4OS7o1g9vvIWaWoxZKmOfJbZZbq7qgz/a7UFA+mQnvdaUWmQddR9ceQvbauJ+/M C2ShZyd25x2WJEPRR5GVuoBM/Cw1iRjenagwrpRHUmw8pUszsjVk3bfKuQIns9ETP6 9yH0Qp1l10jrvKqvOMb8j9VisjyPfqn8RNSkJv0tl4EHlZ0hDPQk3NHHmgb+CBlVX3 qORPbF2yS+o5w== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C57995C04C6; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 02/12] torture: Use "-o Batchmode=yes" to disable ssh password requests Date: Mon, 18 Apr 2022 17:15:15 -0700 Message-Id: <20220419001525.3950505-2-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The torture.sh script normally runs unattended, so there is not much point in the "ssh" command asking for a password. This commit therefore adds the "-o Batchmode=3Dyes" argument to each "ssh" command to cause it to fail rather than ask for a password. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/kvm-remote.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/testing/selftests/rcutorture/bin/kvm-remote.sh b/tools/t= esting/selftests/rcutorture/bin/kvm-remote.sh index 03d7dede5f9b..0ff59bd8b640 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-remote.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-remote.sh @@ -138,7 +138,7 @@ chmod +x $T/bin/kvm-remote-*.sh # Check first to avoid the need for cleanup for system-name typos for i in $systems do - ncpus=3D"`ssh $i getconf _NPROCESSORS_ONLN 2> /dev/null`" + ncpus=3D"`ssh -o BatchMode=3Dyes $i getconf _NPROCESSORS_ONLN 2> /dev/nul= l`" ret=3D$? if test "$ret" -ne 0 then @@ -153,14 +153,14 @@ echo Build-products tarball: `du -h $T/binres.tgz` | = tee -a "$oldrun/remote-log" for i in $systems do echo Downloading tarball to $i `date` | tee -a "$oldrun/remote-log" - cat $T/binres.tgz | ssh $i "cd /tmp; tar -xzf -" + cat $T/binres.tgz | ssh -o BatchMode=3Dyes $i "cd /tmp; tar -xzf -" ret=3D$? tries=3D0 while test "$ret" -ne 0 do echo Unable to download $T/binres.tgz to system $i, waiting and then ret= rying. $tries prior retries. | tee -a "$oldrun/remote-log" sleep 60 - cat $T/binres.tgz | ssh $i "cd /tmp; tar -xzf -" + cat $T/binres.tgz | ssh -o BatchMode=3Dyes $i "cd /tmp; tar -xzf -" ret=3D$? if test "$ret" -ne 0 then @@ -185,7 +185,7 @@ checkremotefile () { =20 while : do - ssh $1 "test -f \"$2\"" + ssh -o BatchMode=3Dyes $1 "test -f \"$2\"" ret=3D$? if test "$ret" -eq 255 then @@ -228,7 +228,7 @@ startbatches () { then continue # System still running last test, skip. fi - ssh "$i" "cd \"$resdir/$ds\"; touch remote.run; PATH=3D\"$T/bin:$PATH\" = nohup kvm-remote-$curbatch.sh > kvm-remote-$curbatch.sh.out 2>&1 &" 1>&2 + ssh -o BatchMode=3Dyes "$i" "cd \"$resdir/$ds\"; touch remote.run; PATH= =3D\"$T/bin:$PATH\" nohup kvm-remote-$curbatch.sh > kvm-remote-$curbatch.sh= .out 2>&1 &" 1>&2 ret=3D$? if test "$ret" -ne 0 then @@ -267,7 +267,7 @@ do sleep 30 done echo " ---" Collecting results from $i `date` | tee -a "$oldrun/remote-lo= g" - ( cd "$oldrun"; ssh $i "cd $rundir; tar -czf - kvm-remote-*.sh.out */cons= ole.log */kvm-test-1-run*.sh.out */qemu[_-]pid */qemu-retval */qemu-affinit= y; rm -rf $T > /dev/null 2>&1" | tar -xzf - ) + ( cd "$oldrun"; ssh -o BatchMode=3Dyes $i "cd $rundir; tar -czf - kvm-rem= ote-*.sh.out */console.log */kvm-test-1-run*.sh.out */qemu[_-]pid */qemu-re= tval */qemu-affinity; rm -rf $T > /dev/null 2>&1" | tar -xzf - ) done =20 ( kvm-end-run-stats.sh "$oldrun" "$starttime"; echo $? > $T/exitcode ) | t= ee -a "$oldrun/remote-log" --=20 2.31.1.189.g2e36527f23 From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E562C433EF for ; Tue, 19 Apr 2022 00:15:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239594AbiDSASO (ORCPT ); Mon, 18 Apr 2022 20:18:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239369AbiDSASI (ORCPT ); Mon, 18 Apr 2022 20:18:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AD96140B0; Mon, 18 Apr 2022 17:15:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ABCA761337; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 172AFC385A9; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=hKYFeLRAfs3mwen3Yl8UtSva8wR3rG52Yfm3W98aAE8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o6CEjkvyr1ezViRAbjUXebY1+4VKLIihGoqKM9XlDTzvghptzNA5W9lukHxl5qFrk dQBxZKNG2cD9BLOGhwPY5A/pSeZ4k+Cd/Kxlmw9IscjA1eraHwrhOa1Z6sPSdfO4ES cLA6MmAK/7OD9nP1OqACfyIQmMcNn1Ycdzt3PWg7MStAxAlkxIdEr6ONlpBlgKtqsJ cJFSCDf20BXGAkmQATZ4ModZdC54PfYkQrKtayKZC0Vi7uI0U760MGTjW5mIDMuRXS G0td/ogxGZ2ZEuJAXe8VYUqfGe3Qoi7S6goQAFDcqC3/7+Bn4j/PURIBSxnKUIsUbt RB3GXH9JgfTTQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C6EDD5C0848; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 03/12] torture: Permit running of experimental torture types Date: Mon, 18 Apr 2022 17:15:16 -0700 Message-Id: <20220419001525.3950505-3-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" This commit weakens the checks of the kvm.sh script's --torture parameter and the kvm-recheck.sh script's parsing so that experimental torture tests may be created without updating these two scripts. The changes required are to the appropriate Makefile and Kconfig file, plus a directory whose name begins with "X" must be added to the rcutorture/configs file. This new directory's name can then be passed in via the kvm.sh script's --torture parameter. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/kvm-recheck.sh | 7 ++++++- tools/testing/selftests/rcutorture/bin/kvm.sh | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh b/tools/= testing/selftests/rcutorture/bin/kvm-recheck.sh index 0a5419982ab3..0789c5606d2a 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh @@ -33,7 +33,12 @@ do TORTURE_SUITE=3D"`cat $i/../torture_suite`" configfile=3D`echo $i | sed -e 's,^.*/,,'` rm -f $i/console.log.*.diags - kvm-recheck-${TORTURE_SUITE}.sh $i + case "${TORTURE_SUITE}" in + X*) + ;; + *) + kvm-recheck-${TORTURE_SUITE}.sh $i + esac if test -f "$i/qemu-retval" && test "`cat $i/qemu-retval`" -ne 0 && test= "`cat $i/qemu-retval`" -ne 137 then echo QEMU error, output: diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/= selftests/rcutorture/bin/kvm.sh index 55b2c1533282..af58b86a503a 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm.sh @@ -86,7 +86,7 @@ usage () { echo " --remote" echo " --results absolute-pathname" echo " --shutdown-grace seconds" - echo " --torture lock|rcu|rcuscale|refscale|scf" + echo " --torture lock|rcu|rcuscale|refscale|scf|X*" echo " --trust-make" exit 1 } @@ -231,7 +231,7 @@ do shift ;; --torture) - checkarg --torture "(suite name)" "$#" "$2" '^\(lock\|rcu\|rcuscale\|ref= scale\|scf\)$' '^--' + checkarg --torture "(suite name)" "$#" "$2" '^\(lock\|rcu\|rcuscale\|ref= scale\|scf\|X.*\)$' '^--' TORTURE_SUITE=3D$2 TORTURE_MOD=3D"`echo $TORTURE_SUITE | sed -e 's/^\(lock\|rcu\|scf\)$/\1t= orture/'`" shift --=20 2.31.1.189.g2e36527f23 From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA83EC433EF for ; Tue, 19 Apr 2022 00:16:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240153AbiDSATJ (ORCPT ); Mon, 18 Apr 2022 20:19:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239478AbiDSASM (ORCPT ); Mon, 18 Apr 2022 20:18:12 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D09AC140C0; Mon, 18 Apr 2022 17:15:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7ABC6B81136; Tue, 19 Apr 2022 00:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26776C385AE; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=dOetzT2hWmKf0ZVCajjiu0ZALSsbbVr5tC3LfTOHRL4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qnjm44LbV0sGS/H8GhrrpoHTpqTUknEOU7L7oODl85SETld2qx6nf8yXtT2TmKTCD xxg8Cnx1MWfCeziTzK/j0jhiuA28FlwUdD/C/Qy7e2qqltpm2Q2z1qnXQj8lsnZ1t9 260oifser+uFbnqeCa56vxNtAw0mALjOQTowmPE7qUwjiygW6waSgLmwxBHlhR8vxw 978vUdJVwNXJlRNJ6ByuK3ow7w5YllAk9bEKc4Oav8wQ9FJSsYMhoIgr44RWqVRaaM 3Z/6G22MH5WYzwfrPCx/dsiClgSv4IUSA58V308Bu8rYs3GWv8J8EUYsbz7MrM7Lco 30K5ggQvuaZfA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C8CDB5C0A0D; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, Paul Menzel , "Paul E . McKenney" Subject: [PATCH rcu 04/12] torture: Make thread detection more robust by using lspcu Date: Mon, 18 Apr 2022 17:15:17 -0700 Message-Id: <20220419001525.3950505-4-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Paul Menzel For consecutive numbers the lscpu command collapses the output and just shows the range with start and end. The processors are numbered that way on POWER8. $ sudo ppc64_cpu --smt=3D8 $ lscpu | grep '^NUMA node' NUMA node(s): 2 NUMA node0 CPU(s): 0-79 NUMA node8 CPU(s): 80-159 This causes the heuristic to detect the number threads per core, looking for the number after the first comma, to fail, and QEMU aborts because of invalid arguments. $ lscpu | grep '^NUMA node0' | sed -e 's/^[^,-]*(,|\-)\([0-9]*\),.*$/\1= /' NUMA node0 CPU(s): 0-79 But the lscpu command shows the number of threads per core: $ sudo ppc64_cpu --smt=3D8 $ lscpu | grep 'Thread(s) per core' Thread(s) per core: 8 $ sudo ppc64_cpu --smt=3Doff $ lscpu | grep 'Thread(s) per core' Thread(s) per core: 1 This commit therefore directly uses that value and replaces use of grep with "sed -n" and its "p" command. Signed-off-by: Paul Menzel Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/functions.sh b/tools/te= sting/selftests/rcutorture/bin/functions.sh index c35ba24f994c..66d0414d8e4b 100644 --- a/tools/testing/selftests/rcutorture/bin/functions.sh +++ b/tools/testing/selftests/rcutorture/bin/functions.sh @@ -301,7 +301,7 @@ specify_qemu_cpus () { echo $2 -smp $3 ;; qemu-system-ppc64) - nt=3D"`lscpu | grep '^NUMA node0' | sed -e 's/^[^,]*,\([0-9]*\),.*$/\1/= '`" + nt=3D"`lscpu | sed -n 's/^Thread(s) per core:\s*//p'`" echo $2 -smp cores=3D`expr \( $3 + $nt - 1 \) / $nt`,threads=3D$nt ;; esac --=20 2.31.1.189.g2e36527f23 From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8886C433F5 for ; Tue, 19 Apr 2022 00:16:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240145AbiDSAS5 (ORCPT ); Mon, 18 Apr 2022 20:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239829AbiDSASM (ORCPT ); Mon, 18 Apr 2022 20:18:12 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBB95140D5; Mon, 18 Apr 2022 17:15:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8C0F4B81132; Tue, 19 Apr 2022 00:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23D9DC385AB; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=NA7ncOd3lAQr/67nsxE2rc6SFDgspmnx4HkPc1ydHVI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RJNfmDRQ+xdsIEX/RQRHZu82iQPxoCaeNB5yDpka85rJnFBFiHr3z5wkkW1saLPr5 WrFJirHazIY6Ht0FD222nvhgbpZWQNOdKkB8O/AnKsSwdzx0lOUVKC1fewA0JVF5ds 7WoRF3CESxgoMh8m0Jyw7ImU8xOWYC/M6+opzrOC+JGo27lIHyxsGtZMJLwexHzE82 SJVyEVDhz30t0Y5bR44WC+NWCirntbtQ4QGFvEWxzQbvEmPQzPLiN4SoGkFoSxE9g3 Uzada3wiyKzL6W2FF8UmhurHt5CBYUyS/eulx6VEd3ERx8yEEhUxagtX8CG19o1AW2 4UBMayjORJRjQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id CAFCC5C0A23; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 05/12] torture: Skip vmlinux check for kvm-again.sh runs Date: Mon, 18 Apr 2022 17:15:18 -0700 Message-Id: <20220419001525.3950505-5-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The kvm-again.sh script reruns an previously built set of kernels, so the vmlinux files are associated with that previous run, not this on. This results in kvm-find_errors.sh reporting spurious failed-build errors. This commit therefore omits teh vmlinux check for kvm-again.sh runs. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh b/to= ols/testing/selftests/rcutorture/bin/kvm-find-errors.sh index 5f682fc892dd..88983cba7956 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh @@ -36,7 +36,7 @@ do then egrep "error:|warning:|^ld: .*undefined reference to" < $i > $i.diags files=3D"$files $i.diags $i" - elif ! test -f ${scenariobasedir}/vmlinux + elif ! test -f ${scenariobasedir}/vmlinux && ! test -f "${rundir}/re-run" then echo No ${scenariobasedir}/vmlinux file > $i.diags files=3D"$files $i.diags $i" --=20 2.31.1.189.g2e36527f23 From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09B01C433EF for ; Tue, 19 Apr 2022 00:15:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237361AbiDSASb (ORCPT ); Mon, 18 Apr 2022 20:18:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239537AbiDSASL (ORCPT ); Mon, 18 Apr 2022 20:18:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68D8C140B6; Mon, 18 Apr 2022 17:15:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5C0FF61343; Tue, 19 Apr 2022 00:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77C6AC385C6; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=9NlmxrB9T+ABKIdX0U+KS7n5FXgtpD+pGztatB46rvE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qGfyE9gpRdknQD7hs3lmJRCHCGy81L5xamIRc1dQSanTvI4NdEG/VL0XtiPqwones c6kVK/rrcY8ge9jxSanxUgIuXdm9M3M1l8ES4Odmb4BsKneIYhxk+YrYtjdws+kLL/ /VBpEpqr3OS2Otc5sp3XkNrn7xrXGN/HrLEI31eC0vafytMLdxCVLeelavpuL3AbLH gheitZpCpUmJq9hJNkixlowesCy5YTuM3nfif0VrlsJYEbsjSlX/CN1UAtGrPBATVa HdfRE3o6/JevYJxUrB8L2VKcb1Y852fh/1nYiyL7QtDg5TIJbpKgVK01YTJoeNhSKw TnvXw3QZHEwgw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id CCD945C0B86; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 06/12] torture: Enable CSD-lock stall reports for scftorture Date: Mon, 18 Apr 2022 17:15:19 -0700 Message-Id: <20220419001525.3950505-6-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" This commit passes the csdlock_debug=3D1 kernel parameter in order to enable CSD-lock stall reports for torture.sh scftorure runs. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/torture.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/torture.sh b/tools/test= ing/selftests/rcutorture/bin/torture.sh index bfe09e2829c8..e84db823a50d 100755 --- a/tools/testing/selftests/rcutorture/bin/torture.sh +++ b/tools/testing/selftests/rcutorture/bin/torture.sh @@ -350,7 +350,7 @@ fi =20 if test "$do_scftorture" =3D "yes" then - torture_bootargs=3D"scftorture.nthreads=3D$HALF_ALLOTED_CPUS torture.disa= ble_onoff_at_boot" + torture_bootargs=3D"scftorture.nthreads=3D$HALF_ALLOTED_CPUS torture.disa= ble_onoff_at_boot csdlock_debug=3D1" torture_set "scftorture" tools/testing/selftests/rcutorture/bin/kvm.sh --= torture scf --allcpus --duration "$duration_scftorture" --configs "$configs= _scftorture" --kconfig "CONFIG_NR_CPUS=3D$HALF_ALLOTED_CPUS" --memory 1G --= trust-make fi =20 --=20 2.31.1.189.g2e36527f23 From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF1BAC433F5 for ; Tue, 19 Apr 2022 00:15:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239561AbiDSAS1 (ORCPT ); Mon, 18 Apr 2022 20:18:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239543AbiDSASM (ORCPT ); Mon, 18 Apr 2022 20:18:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68F61140B9; Mon, 18 Apr 2022 17:15:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 800DE61345; Tue, 19 Apr 2022 00:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CBD4C385C8; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=l24NnFXImrXB1wlbsG6oWhuBGpxHWz1mLxrXcL33cVY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bUTKNJSM9grlp7vlX57pNLQxKxFEGipN1VRjs6VBPtKUcfSokqFjqUaSguld5nsh1 nCsTjPgdvpw/FvXxPMZlgqiUoCHhor5R+bsjNrXV/yX0vlQAVokyqBEzBegHOJQhE0 eGm8bLojrdcvi554q/tfbf+1LTEl7/OX0bitRYOBsHl+tbKVSASfzVRBX7Hky72ler 5Ikdg5utDuAQLBURH4eBGppQSHtEhzGnBMEAXza+ywDbacFW7YRLJsjYoaz4z+Xp8A 5bJ1hs9cAjvRrZIe7PXOhwSMXukjEAiDdYrhPZyNqgFurZ+l8X8iv16SDBBUa9XMPx az00sVM0GCEkQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id CEF3A5C0DFD; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 07/12] rcutorture: Adjust scenarios' Kconfig options for CONFIG_PREEMPT_DYNAMIC Date: Mon, 18 Apr 2022 17:15:20 -0700 Message-Id: <20220419001525.3950505-7-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Now that CONFIG_PREEMPT_DYNAMIC=3Dy is the default, kernels that are ostensibly built with CONFIG_PREEMPT_NONE=3Dy or CONFIG_PREEMPT_VOLUNTARY= =3Dy are now actually built with CONFIG_PREEMPT=3Dy, but are by default booted so as to disable preemption. Although this allows much more flexibility from a single kernel binary, it means that the current rcutorture scenarios won't find build errors that happen only when preemption is fully disabled at build time. This commit therefore adds CONFIG_PREEMPT_DYNAMIC=3Dn to several scenarios, and while in the area switches one from CONFIG_PREEMPT_NONE=3Dy to CONFIG_PREEMPT_VOLUNTARY=3Dy to add coverage of this Kconfig option. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/configs/rcu/TRACE01 | 1 + tools/testing/selftests/rcutorture/configs/rcu/TREE04 | 5 +++-- tools/testing/selftests/rcutorture/configs/rcu/TREE07 | 1 + tools/testing/selftests/rcutorture/configs/rcu/TREE10 | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TRACE01 b/tools= /testing/selftests/rcutorture/configs/rcu/TRACE01 index e4d74e5fc1d0..b54cefde6e87 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TRACE01 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TRACE01 @@ -4,6 +4,7 @@ CONFIG_HOTPLUG_CPU=3Dy CONFIG_PREEMPT_NONE=3Dy CONFIG_PREEMPT_VOLUNTARY=3Dn CONFIG_PREEMPT=3Dn +CONFIG_PREEMPT_DYNAMIC=3Dn CONFIG_DEBUG_LOCK_ALLOC=3Dn CONFIG_PROVE_LOCKING=3Dn #CHECK#CONFIG_PROVE_RCU=3Dn diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE04 b/tools/= testing/selftests/rcutorture/configs/rcu/TREE04 index 22ad0261728d..ae395981b5e5 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE04 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE04 @@ -1,8 +1,9 @@ CONFIG_SMP=3Dy CONFIG_NR_CPUS=3D8 -CONFIG_PREEMPT_NONE=3Dy -CONFIG_PREEMPT_VOLUNTARY=3Dn +CONFIG_PREEMPT_NONE=3Dn +CONFIG_PREEMPT_VOLUNTARY=3Dy CONFIG_PREEMPT=3Dn +CONFIG_PREEMPT_DYNAMIC=3Dn #CHECK#CONFIG_TREE_RCU=3Dy CONFIG_HZ_PERIODIC=3Dn CONFIG_NO_HZ_IDLE=3Dn diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE07 b/tools/= testing/selftests/rcutorture/configs/rcu/TREE07 index 2789b47e4ecd..d30922d8c883 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE07 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE07 @@ -3,6 +3,7 @@ CONFIG_NR_CPUS=3D16 CONFIG_PREEMPT_NONE=3Dy CONFIG_PREEMPT_VOLUNTARY=3Dn CONFIG_PREEMPT=3Dn +CONFIG_PREEMPT_DYNAMIC=3Dn #CHECK#CONFIG_TREE_RCU=3Dy CONFIG_HZ_PERIODIC=3Dn CONFIG_NO_HZ_IDLE=3Dn diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE10 b/tools/= testing/selftests/rcutorture/configs/rcu/TREE10 index 4a00539bfdd7..a323d8948b7c 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE10 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE10 @@ -3,6 +3,7 @@ CONFIG_NR_CPUS=3D56 CONFIG_PREEMPT_NONE=3Dy CONFIG_PREEMPT_VOLUNTARY=3Dn CONFIG_PREEMPT=3Dn +CONFIG_PREEMPT_DYNAMIC=3Dn #CHECK#CONFIG_TREE_RCU=3Dy CONFIG_HZ_PERIODIC=3Dn CONFIG_NO_HZ_IDLE=3Dy --=20 2.31.1.189.g2e36527f23 From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8169CC433F5 for ; Tue, 19 Apr 2022 00:16:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240041AbiDSASp (ORCPT ); Mon, 18 Apr 2022 20:18:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239908AbiDSASM (ORCPT ); Mon, 18 Apr 2022 20:18:12 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A786513F7A; Mon, 18 Apr 2022 17:15:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 198E9B81144; Tue, 19 Apr 2022 00:15:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77CCFC385C7; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=Z7Z+/eQ/03NPG8mWKEObyqFMOTj5dMlYTAeNOeALIjA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VqD0HhKa9Pblww39evtkphIAXQObNV3BBKZOw9aESctc7G3Ph7/yhXDIEaf0vwg3P aGExQUK1y/hGEtfc6AI1KIaN/te0dvqI1ZGRVIKgAFdZuOhbXKn4YCnh8UyS8MVv0E /qA+gEZ9cM47QlXnpDvuzvb7TmzuCWZgDEX6A9dksw6o5yy+pNzyFk2y0s46LC5ok1 S6wVVhMkZp8yha6TSByMMSy5AU/8g/pTGl6FiqeQ1SMBAoVNMIP/jML4Wwl2c8muev GPq08sIS12yFNNz38XHV/giYWRiXEccOsW4ecevqqcDG3VsNn/rUpovoHyAhi8nV5D /3+dAADz1grEQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D0B545C121E; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 08/12] scftorture: Remove extraneous "scf" from per_version_boot_params Date: Mon, 18 Apr 2022 17:15:21 -0700 Message-Id: <20220419001525.3950505-8-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" There is an extraneous "scf" in the per_version_boot_params shell function used by scftorture. No harm done in that it is just passed as an argument to the /init program in initrd, but this commit nevertheless removes it. Signed-off-by: Paul E. McKenney --- .../testing/selftests/rcutorture/configs/scf/ver_functions.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/testing/selftests/rcutorture/configs/scf/ver_functions.s= h b/tools/testing/selftests/rcutorture/configs/scf/ver_functions.sh index d3d9e35d3d55..2d949e58f5a5 100644 --- a/tools/testing/selftests/rcutorture/configs/scf/ver_functions.sh +++ b/tools/testing/selftests/rcutorture/configs/scf/ver_functions.sh @@ -25,6 +25,5 @@ per_version_boot_params () { echo $1 `scftorture_param_onoff "$1" "$2"` \ scftorture.stat_interval=3D15 \ scftorture.shutdown_secs=3D$3 \ - scftorture.verbose=3D1 \ - scf + scftorture.verbose=3D1 } --=20 2.31.1.189.g2e36527f23 From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2C8FC433FE for ; Tue, 19 Apr 2022 00:15:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239695AbiDSASg (ORCPT ); Mon, 18 Apr 2022 20:18:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239840AbiDSASM (ORCPT ); Mon, 18 Apr 2022 20:18:12 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 527EB140F3; Mon, 18 Apr 2022 17:15:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E5557B8113A; Tue, 19 Apr 2022 00:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77B06C385B0; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=o3Ak4YE3U+NXcNtnERapFxHUhpwWgj59xr5vPo6wev8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XbGJtWFMJ7gSDMwij2wWriR5fBFI/P6AvK2N5qfJ+hcEbCuKWjbqR9hYrEP36NzeI yrrCQAKSrNDd7Ndo28Hy4KuLv3fAtwViXQPfRdEYQfLHVEm26HXGzMHiGAcqHU7Lps vZvtYi5qVaKWvPAhYyPCLCvBDS4X4Mf+AzEDcwSDfcr+bDM4NAAMk4IA9Q4fvulleb NBwEBh1N6wjFbgqf7d9Wt5wc0qRQ2pThSXvrP2+IkMWWMARq24wBCXDWSmik4Fjib6 KyhcM3QUq7fYqxl5kB7Cke8YVcy9geVWwPBD7VbFMyYbQq2hkgW8nURR2h86obF3oO TMyIP4CVP0ZyQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D2BC65C12AB; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 09/12] torture: Save "make allmodconfig" .config file Date: Mon, 18 Apr 2022 17:15:22 -0700 Message-Id: <20220419001525.3950505-9-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Currently, torture.sh saves only the build output and exit code from the "make allmodconfig" test. This commit also saves the .config file. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/torture.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/rcutorture/bin/torture.sh b/tools/test= ing/selftests/rcutorture/bin/torture.sh index e84db823a50d..c5b3dedc6dc4 100755 --- a/tools/testing/selftests/rcutorture/bin/torture.sh +++ b/tools/testing/selftests/rcutorture/bin/torture.sh @@ -322,6 +322,7 @@ then echo " --- make clean" > "$amcdir/Make.out" 2>&1 make -j$MAKE_ALLOTED_CPUS clean >> "$amcdir/Make.out" 2>&1 echo " --- make allmodconfig" >> "$amcdir/Make.out" 2>&1 + cp .config $amcdir make -j$MAKE_ALLOTED_CPUS allmodconfig >> "$amcdir/Make.out" 2>&1 echo " --- make " >> "$amcdir/Make.out" 2>&1 make -j$MAKE_ALLOTED_CPUS >> "$amcdir/Make.out" 2>&1 --=20 2.31.1.189.g2e36527f23 From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A3EEC433F5 for ; Tue, 19 Apr 2022 00:15:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239944AbiDSASY (ORCPT ); Mon, 18 Apr 2022 20:18:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239573AbiDSASM (ORCPT ); Mon, 18 Apr 2022 20:18:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 690EC140BC; Mon, 18 Apr 2022 17:15:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5346261342; Tue, 19 Apr 2022 00:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 78AB7C385BF; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=NKVth+gfOmO3QLXYe/5IPSeGXFvTVCqstq4rU8c6jlM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IKJMYb/09FMBmu2B0GdsjPRrD6dnVgBFD+J25blppA9J5/v6HNz9o9jbeXFo3KdhI zQd8zbFj8YsuPTgkk70oD6DAYUnVpni6ze7pcWfuBznjXx3uC4YelH7JX+d2bq0/gZ 90AEMEfng3NRBzZDghHxSKD38dGlW6VqCFlua5CRmVX0+8V9P6VdP+UHwQ6luGfxPK w4XbGvhhIALj905/SG6IXuUo3TyFGZ30M/r644YSuvuwU1QNmvmfXwerPYO7h07FMh X35Dk3xCK563MJCSSu4pInNci4sw4Es875LxSk+cjlBZDvByledecQHniJiAVUq98f 0z+PSDhcmBTHg== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D46335C1308; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 10/12] rcutorture: Make kvm.sh allow more memory for --kasan runs Date: Mon, 18 Apr 2022 17:15:23 -0700 Message-Id: <20220419001525.3950505-10-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" KASAN allots significant memory to track allocation state, and the amount of memory has increased recently, which results in frequent OOMs on a few of the rcutorture scenarios. This commit therefore provides 2G of memory for --kasan runs, up from the 512M default. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/kvm.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/= selftests/rcutorture/bin/kvm.sh index af58b86a503a..263e16aeca0e 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm.sh @@ -44,6 +44,7 @@ TORTURE_KCONFIG_KASAN_ARG=3D"" TORTURE_KCONFIG_KCSAN_ARG=3D"" TORTURE_KMAKE_ARG=3D"" TORTURE_QEMU_MEM=3D512 +torture_qemu_mem_default=3D1 TORTURE_REMOTE=3D TORTURE_SHUTDOWN_GRACE=3D180 TORTURE_SUITE=3Drcu @@ -180,6 +181,10 @@ do ;; --kasan) TORTURE_KCONFIG_KASAN_ARG=3D"CONFIG_DEBUG_INFO=3Dy CONFIG_KASAN=3Dy"; ex= port TORTURE_KCONFIG_KASAN_ARG + if test -n "$torture_qemu_mem_default" + then + TORTURE_QEMU_MEM=3D2G + fi ;; --kconfig|--kconfigs) checkarg --kconfig "(Kconfig options)" $# "$2" '^CONFIG_[A-Z0-9_]\+=3D\(= [ynm]\|[0-9]\+\)\( CONFIG_[A-Z0-9_]\+=3D\([ynm]\|[0-9]\+\)\)*$' '^error$' @@ -202,6 +207,7 @@ do --memory) checkarg --memory "(memory size)" $# "$2" '^[0-9]\+[MG]\?$' error TORTURE_QEMU_MEM=3D$2 + torture_qemu_mem_default=3D shift ;; --no-initrd) --=20 2.31.1.189.g2e36527f23 From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FBBCC433F5 for ; Tue, 19 Apr 2022 00:16:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239860AbiDSATF (ORCPT ); Mon, 18 Apr 2022 20:19:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239714AbiDSASM (ORCPT ); Mon, 18 Apr 2022 20:18:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0A6B140C2; Mon, 18 Apr 2022 17:15:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EBB1C6134F; Tue, 19 Apr 2022 00:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 825FAC385CA; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=9dPljee+XkU+dCj4G8HwoefiT/Vy/6UWKYfyp8TPR/k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GLa1QAQKxrZRB3HBBloOH1AFmDiXh/9s5oy1HP+svg/y3ShCrWyFaggU0qr9H1s6z EsC0GmFzTaX5UFOWbjB52ZMp8QfbOZisuDFXLHEG6QGVu6duM16g0RAYIG8aERef69 nrn1t45CTRGJbvxYP5Fb8Vfq9C9OESnzabBFRirbmziC7FAnK6BjN/F1LM+MWODoz4 fvoqTRCgXhiobvx3YGcvYYPQSnc8l0zjh+x09Z3Dm46bJ/kmxUSzpR0jbwkAFiCcg3 rIjOxQOsc1QRoWwbfMjZzT/FruHMbqWWzWhbHd1wt76zNlhCGWZLzTGSEDRxA9jJ2z JQnGKe2O0bYow== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D65F35C1355; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 11/12] rcutorture: Make torture.sh refscale and rcuscale specify Tasks Trace RCU Date: Mon, 18 Apr 2022 17:15:24 -0700 Message-Id: <20220419001525.3950505-11-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Now that the Tasks RCU flavors are selected by their users rather than by the rcutorture scenarios, torture.sh fails when attempting to run NOPREEMPT scenarios for refscale and rcuscale. This commit therefore makes torture.sh specify CONFIG_TASKS_TRACE_RCU=3Dy to avoid such failure. Why not also CONFIG_TASKS_RCU? Because tracing selects this one. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/torture.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/rcutorture/bin/torture.sh b/tools/test= ing/selftests/rcutorture/bin/torture.sh index c5b3dedc6dc4..f9c1437b9a19 100755 --- a/tools/testing/selftests/rcutorture/bin/torture.sh +++ b/tools/testing/selftests/rcutorture/bin/torture.sh @@ -364,7 +364,7 @@ fi for prim in $primlist do torture_bootargs=3D"refscale.scale_type=3D"$prim" refscale.nreaders=3D$HA= LF_ALLOTED_CPUS refscale.loops=3D10000 refscale.holdoff=3D20 torture.disabl= e_onoff_at_boot" - torture_set "refscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.s= h --torture refscale --allcpus --duration 5 --kconfig "CONFIG_NR_CPUS=3D$HA= LF_ALLOTED_CPUS" --bootargs "verbose_batched=3D$VERBOSE_BATCH_CPUS torture.= verbose_sleep_frequency=3D8 torture.verbose_sleep_duration=3D$VERBOSE_BATCH= _CPUS" --trust-make + torture_set "refscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.s= h --torture refscale --allcpus --duration 5 --kconfig "CONFIG_TASKS_TRACE_R= CU=3Dy CONFIG_NR_CPUS=3D$HALF_ALLOTED_CPUS" --bootargs "verbose_batched=3D$= VERBOSE_BATCH_CPUS torture.verbose_sleep_frequency=3D8 torture.verbose_slee= p_duration=3D$VERBOSE_BATCH_CPUS" --trust-make done =20 if test "$do_rcuscale" =3D yes @@ -376,7 +376,7 @@ fi for prim in $primlist do torture_bootargs=3D"rcuscale.scale_type=3D"$prim" rcuscale.nwriters=3D$HA= LF_ALLOTED_CPUS rcuscale.holdoff=3D20 torture.disable_onoff_at_boot" - torture_set "rcuscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.s= h --torture rcuscale --allcpus --duration 5 --kconfig "CONFIG_NR_CPUS=3D$HA= LF_ALLOTED_CPUS" --trust-make + torture_set "rcuscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.s= h --torture rcuscale --allcpus --duration 5 --kconfig "CONFIG_TASKS_TRACE_R= CU=3Dy CONFIG_NR_CPUS=3D$HALF_ALLOTED_CPUS" --trust-make done =20 if test "$do_kvfree" =3D "yes" --=20 2.31.1.189.g2e36527f23 From nobody Mon May 11 02:06:52 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBD46C433F5 for ; Tue, 19 Apr 2022 00:16:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239719AbiDSASi (ORCPT ); Mon, 18 Apr 2022 20:18:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239615AbiDSASM (ORCPT ); Mon, 18 Apr 2022 20:18:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B82C0140BF; Mon, 18 Apr 2022 17:15:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8A55061348; Tue, 19 Apr 2022 00:15:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89766C385CB; Tue, 19 Apr 2022 00:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650327327; bh=UZPpZ1mRl1FHguMGssb84JWx618CSgBu6buIjsYwR5Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZF6St1bXBxciS1s9C+1O+/+pBlM7Y8hTRwR4DLTaMIgnYZPgKHLMs4IxXzcHHneGv VJiMnN5PP1a/2eRl/06bj6MhOG8wKyXDFDhkmdJc+LHUqK2qf/0VQTjiRER0KgLit2 WbAroEv4DRAnTm4X+yoXOJ5JUOKLTgzyEuLeDRJcD9IkbFMzLES8ziBQ227krazHKA Qw/V2juS0dBynkmzjasn7lVRFAYqdJ94Lszv6Hdm/Nj60LmM+0N+KxMuKkikxLIZdJ Y4YW0stBfGZ1jZ7WoTEmrPSYEdUAew9GKkTTeXaf5CqF4wd9T41f3theZQlWgqPKeL +BaKHO/JoiPnQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D810B5C1369; Mon, 18 Apr 2022 17:15:26 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" Subject: [PATCH rcu 12/12] rcutorture: Make torture.sh allow for --kasan Date: Mon, 18 Apr 2022 17:15:25 -0700 Message-Id: <20220419001525.3950505-12-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> References: <20220419001519.GA3950405@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The torture.sh script provides extra memory for scftorture and rcuscale. However, the total memory provided is only 1G, which is less than the 2G that is required for KASAN testing. This commit therefore ups the torture.sh script's 1G to 2G. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/torture.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/rcutorture/bin/torture.sh b/tools/test= ing/selftests/rcutorture/bin/torture.sh index f9c1437b9a19..3be9cfab93b5 100755 --- a/tools/testing/selftests/rcutorture/bin/torture.sh +++ b/tools/testing/selftests/rcutorture/bin/torture.sh @@ -352,7 +352,7 @@ fi if test "$do_scftorture" =3D "yes" then torture_bootargs=3D"scftorture.nthreads=3D$HALF_ALLOTED_CPUS torture.disa= ble_onoff_at_boot csdlock_debug=3D1" - torture_set "scftorture" tools/testing/selftests/rcutorture/bin/kvm.sh --= torture scf --allcpus --duration "$duration_scftorture" --configs "$configs= _scftorture" --kconfig "CONFIG_NR_CPUS=3D$HALF_ALLOTED_CPUS" --memory 1G --= trust-make + torture_set "scftorture" tools/testing/selftests/rcutorture/bin/kvm.sh --= torture scf --allcpus --duration "$duration_scftorture" --configs "$configs= _scftorture" --kconfig "CONFIG_NR_CPUS=3D$HALF_ALLOTED_CPUS" --memory 2G --= trust-make fi =20 if test "$do_refscale" =3D yes @@ -382,7 +382,7 @@ done if test "$do_kvfree" =3D "yes" then torture_bootargs=3D"rcuscale.kfree_rcu_test=3D1 rcuscale.kfree_nthreads= =3D16 rcuscale.holdoff=3D20 rcuscale.kfree_loops=3D10000 torture.disable_on= off_at_boot" - torture_set "rcuscale-kvfree" tools/testing/selftests/rcutorture/bin/kvm.= sh --torture rcuscale --allcpus --duration 10 --kconfig "CONFIG_NR_CPUS=3D$= HALF_ALLOTED_CPUS" --memory 1G --trust-make + torture_set "rcuscale-kvfree" tools/testing/selftests/rcutorture/bin/kvm.= sh --torture rcuscale --allcpus --duration 10 --kconfig "CONFIG_NR_CPUS=3D$= HALF_ALLOTED_CPUS" --memory 2G --trust-make fi =20 if test "$do_clocksourcewd" =3D "yes" --=20 2.31.1.189.g2e36527f23