Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp877755pxb; Thu, 5 Nov 2020 15:50:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQeks6b5XTWDsPUAgWxHWg5UTAIak7DiA/68LwOATPFRvYjUkmgkNet7XOybu3omDmhu/K X-Received: by 2002:a17:906:eb57:: with SMTP id mc23mr4765904ejb.373.1604620237640; Thu, 05 Nov 2020 15:50:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604620237; cv=none; d=google.com; s=arc-20160816; b=bommnvci7/KPNgqHWPr2f1Sd/1+ZUztIANzGGFKSADkWYmhTchNHjEEM4WSYBkprWN tYdm4Rth9SLF9GhS1B6lAYcA1H3L7vJzw3Pf8+x8624sHllMa+hhrZYcfKpTOs6CCkX5 K2qqI/2+jfRIYAycABFUWgMOQ0ViwY7+Zpq4MbCUhmtY9HcXWtVWXTsKdG1qkWN1dDO3 kdcSimfSXUIIRRfZHTHt2y8G+UFLv3g0osg+f4KRMBqA7Y3hmLm5FVWyfMC10vLgEMbM l2iWFTN3b5HUhb/RBxOFB4KkqNPbp0S7Wm0Wh6WU2WlaeUxdVo9lhXtSkUhRXFoV6bcf OznQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=z/DUtCQ95CO/LwQgnQ2i+kNsi48mjbT7SVm4fa1oyyQ=; b=dP7HrargCL7ZCjaHixm7IUAYbCOFw1p5H3Ji5oQ8x8uNSPuI2L7TK0wrGHpTRrsmZk 9VQPWUEDWon3SwS5uRyNqsxpnchxfwSSAPBzQ1dX+Mvj+E6mI50E+oDumvDEW4w5bTEv RQeD7ZYIJlXQk4VdjzCisi1CL6zBPCWGhypjzHPazclxUg3WW1e7Y3ANPEYKo4mTXPdy mWEmu/PmQ/d9eFkIj1LCGiXjgF+ChNRxq42ZZdaylaAuPETzIzl2LFs3sp3YkDdTApUo 2Xn5Ru+lscqweQ8f/W9NlFjQ39eWcTDHOdudsHwiGKXqa4FhjkAncfj75wXZ9czbmA8D 29XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="JFeU/bIG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a7si2367763eda.335.2020.11.05.15.50.14; Thu, 05 Nov 2020 15:50:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="JFeU/bIG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732920AbgKEXsV (ORCPT + 99 others); Thu, 5 Nov 2020 18:48:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:46124 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732804AbgKEXrb (ORCPT ); Thu, 5 Nov 2020 18:47:31 -0500 Received: from paulmck-ThinkPad-P72.home (50-39-104-11.bvtn.or.frontiernet.net [50.39.104.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F330A2222A; Thu, 5 Nov 2020 23:47:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604620051; bh=uT5n8qK9bxjpcW9G+W8gBoRmQpU8JHI58eqEgyEwSJQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JFeU/bIG0zeHjjxYtWEKumsdeVWmaDxI3Tv5eOAOMNufb1NUds3/IgXEO72h8koTT gNXzF/Kcg07asPJRV8gflNfuOgXxBZdlk+u4zbTHtDpedN19vUx1wMFj76PJ9ToarB /Nzk4MGqHmMRMxtyqkuG/nPWjAiQQQl2iNMO4JP8= From: paulmck@kernel.org To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, mingo@kernel.org, jiangshanlai@gmail.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 tip/core/rcu 26/28] torture: Make kvm-check-branches.sh use --allcpus Date: Thu, 5 Nov 2020 15:47:17 -0800 Message-Id: <20201105234719.23307-26-paulmck@kernel.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20201105234658.GA23142@paulmck-ThinkPad-P72> References: <20201105234658.GA23142@paulmck-ThinkPad-P72> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Paul E. McKenney" Currently the kvm-check-branches.sh script calculates the number of CPUs and passes this to the kvm.sh --cpus command-line argument. This works, but this commit saves a line by instead using the new kvm.sh --allcpus command-line argument. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/kvm-check-branches.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/rcutorture/bin/kvm-check-branches.sh b/tools/testing/selftests/rcutorture/bin/kvm-check-branches.sh index 6e65c13..370406b 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-check-branches.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-check-branches.sh @@ -52,8 +52,7 @@ echo Results directory: $resdir/$ds KVM="`pwd`/tools/testing/selftests/rcutorture"; export KVM PATH=${KVM}/bin:$PATH; export PATH . functions.sh -cpus="`identify_qemu_vcpus`" -echo Using up to $cpus CPUs. +echo Using all `identify_qemu_vcpus` CPUs. # Each pass through this loop does one command-line argument. for gitbr in $@ @@ -74,7 +73,7 @@ do # Test the specified commit. git checkout $i > $resdir/$ds/$idir/git-checkout.out 2>&1 echo git checkout return code: $? "(Commit $ntry: $i)" - kvm.sh --cpus $cpus --duration 3 --trust-make > $resdir/$ds/$idir/kvm.sh.out 2>&1 + kvm.sh --allcpus --duration 3 --trust-make > $resdir/$ds/$idir/kvm.sh.out 2>&1 ret=$? echo kvm.sh return code $ret for commit $i from branch $gitbr -- 2.9.5