Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp79326rdg; Tue, 10 Oct 2023 05:02:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmtIngAouz7HiTIz//fEtE3HA7TxDBMApI9hhMUYPKwZ9It5E8aNNirEtx6mz9umWdcjn1 X-Received: by 2002:a05:6a00:985:b0:68f:caaa:e6d5 with SMTP id u5-20020a056a00098500b0068fcaaae6d5mr18866567pfg.14.1696939323516; Tue, 10 Oct 2023 05:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696939323; cv=none; d=google.com; s=arc-20160816; b=R3CP8aJUTWGVXhqSG1iL7XZYNukFjf/xCb8wM/t55NCnjYH4nGc0SMbxFuU1fY3ajn 1zoMOdfvq9MJCV+KAITyg+u+4V8xPLy+LqFy3iY0kp+hbjL6RRq/0hCI8mRL5J94GhF/ RI+Y8VLsrdcvBBvLZsHykmFGjDkJHNDuh/jezRefNDHRMdv4wVDtPPEgjNF6SqJGVZFD f0w4YsWt+lEE0JvtOWltrlhM5uFSF5EFrzhQoaoKjyS4SZXrS6skRaHb/3PUF3My7mCg ilXADdXSg1y6Fz3wvTcbPblzJuD4URJsyJ4KcFI0WoGnFBIV7X9UGT0z3FSPtpYukldj GxIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8VMTo2g6wD5ubqje9++adsbxw7RYs3QKwBOLpv/w3Sk=; fh=9o1vzmbQvXEiiOZAoGEKGHmVR4Ieb6r+octdNZgYFWA=; b=RPIXMGxfjdULPQYI0J1pkov3A41p/6jiMQqhKHwmXkNSCsw6zkb07GuouYJtvGoI0J rQ69WcHlG86GDIGtVpgCJffq0EeOb4jm65fgmdaQSkQQeVic8PQ7buYoDrgvvNhczVQQ J2AbgBAWjMzlWo0eBYwccRkd0v0hnkfq4mPC2QnhA2y0hF52tLa/04KHy0lqruGPm75G E9PVQ0MIrj8Q8rAfflPRflZVyt2sxyldY8TZOqueYsQr6gFWX4pxAPkDT/W04wsvD9Bl eEfc+aXWBllf6X8+bVxENdNytR/YuNReBen+XwUohEgH5XXZTA6U3uEIr7tiwSInjXRw Ehjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aH1aS+lU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id i17-20020a635851000000b005775a4a2961si9209208pgm.657.2023.10.10.05.01.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 05:02:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aH1aS+lU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 98445807282F; Tue, 10 Oct 2023 05:01:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231743AbjJJMBF (ORCPT + 99 others); Tue, 10 Oct 2023 08:01:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231871AbjJJMAc (ORCPT ); Tue, 10 Oct 2023 08:00:32 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9602AD45; Tue, 10 Oct 2023 05:00:13 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23362C433CA; Tue, 10 Oct 2023 12:00:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696939213; bh=f9XO/66z9R1qy9OZli7EUvNrpwkMvHKKVd0X5/hb1w0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aH1aS+lUngueVvu0h3k6ebDxOAZ6w6I9RXxvQbJfg/1T2pjDTFfQ7gnM7nW1fJHUk IEnJxWX9FRStXiaZgPBgWc62HKVUZ7EuRs5X+6bkvyGSyi62WSx42F2eqCr1wA2324 se5YC3b8WACS5VI5OnwQGn82Y85UWpQLIGlGw5GFh6PzXJC3V9AXriybpXIuSKoe+/ kyfbtEfCDS5QajVCANnqDi0G8dbZHD6eGc7FplKITvhdLVFrpuJuBHdm/ptd6PY5yU Y0sf+deQjzo5HppbUN5HemqNit5InpplUyLflSFQI1P+baFCl3TN+mGjfE6K2Nz+WP QvhNZq9pLnsxw== From: Frederic Weisbecker To: LKML Cc: "Paul E. McKenney" , Boqun Feng , Joel Fernandes , Josh Triplett , Mathieu Desnoyers , Neeraj Upadhyay , Steven Rostedt , Uladzislau Rezki , rcu , Frederic Weisbecker Subject: [PATCH 14/23] torture: Make torture.sh refscale testing qualify verbose_batched Date: Tue, 10 Oct 2023 13:59:12 +0200 Message-Id: <20231010115921.988766-15-frederic@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231010115921.988766-1-frederic@kernel.org> References: <20231010115921.988766-1-frederic@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 10 Oct 2023 05:01:34 -0700 (PDT) X-Spam-Level: ** From: "Paul E. McKenney" In torture.sh, the testing of refscale incorrectly used verbose_batched as a kernel boot parameter, which causes this parameter to be passed to the init process. This commit therefore prefixes it with refscale, so that refscale.verbose_batched is passed to the kernel. Signed-off-by: Paul E. McKenney Signed-off-by: Frederic Weisbecker --- 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/testing/selftests/rcutorture/bin/torture.sh index 12b50a4a881a..d5a0d8a33c27 100755 --- a/tools/testing/selftests/rcutorture/bin/torture.sh +++ b/tools/testing/selftests/rcutorture/bin/torture.sh @@ -472,7 +472,7 @@ do if test -n "$firsttime" then torture_bootargs="refscale.scale_type="$prim" refscale.nreaders=$HALF_ALLOTED_CPUS refscale.loops=10000 refscale.holdoff=20 torture.disable_onoff_at_boot" - torture_set "refscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.sh --torture refscale --allcpus --duration 5 --kconfig "CONFIG_TASKS_TRACE_RCU=y CONFIG_NR_CPUS=$HALF_ALLOTED_CPUS" --bootargs "verbose_batched=$VERBOSE_BATCH_CPUS torture.verbose_sleep_frequency=8 torture.verbose_sleep_duration=$VERBOSE_BATCH_CPUS" --trust-make + torture_set "refscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.sh --torture refscale --allcpus --duration 5 --kconfig "CONFIG_TASKS_TRACE_RCU=y CONFIG_NR_CPUS=$HALF_ALLOTED_CPUS" --bootargs "refscale.verbose_batched=$VERBOSE_BATCH_CPUS torture.verbose_sleep_frequency=8 torture.verbose_sleep_duration=$VERBOSE_BATCH_CPUS" --trust-make mv $T/last-resdir-nodebug $T/first-resdir-nodebug || : if test -f "$T/last-resdir-kasan" then -- 2.34.1