Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp878580pxb; Thu, 5 Nov 2020 15:52:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8kdh9OB/QyXr4Psy8L0iD9TizTu4abzlq/93VWm+e0rbHUD03PwSImKgaHl2c0RfQECst X-Received: by 2002:a17:906:7844:: with SMTP id p4mr4855575ejm.26.1604620355641; Thu, 05 Nov 2020 15:52:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604620355; cv=none; d=google.com; s=arc-20160816; b=XxsxDUgsEbJ1cBpAB77LYHPDTZyXzieUayjUNmnqgRl1FSvvO7Ay3lu1U0GsHXjMzn +LDCHrK8K6CFEAzeZEQ0FOZN9PTK738Ui/NW71d7altgqR+7zMnd4JamPB65lbWDV0Yz UpOPfi9KEl5u35tySYwAODDLo3Xf94aAahbPv685HmQVUlbFkB7yC4YnwbAgYMVy4Y8f 6Xsh5suTjb9bt0I/SYlodFmD7DahdATY577MyL5iy+iuiKpMcQFT87ZChojd9bCVc8Gc /kkSkJh3KpyjnWgP3W5qgHPqwVwZ4Y9qa4qAQ6DeLDNztL3Sl/6MucVh86ZRaMRbrpZR 3n4A== 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=MNQKZWKDNR5pB4p253z/EutzQdIaFCnlNGVwNfoARx8=; b=NDshIBuA4TX2xzBNIrhPT6r92mC3swyAzyhqA0wokUjE1m4VQ2f111z42ossMbgoUb +uksNHk51g1mPVXqCpLn1i4kOo+CBLUtQmPoJ4f40YPtXJJo/FlN4GAaSSCzMja5Lq1H yQB4UXBh/UqIBkvX71dEWpzfLRjtLFYQJSBLEhVKtjuEG3qXxZWR+QQnO3bhBNK51eBJ zQkPNmq4r/LcxPGv6oNqQg9qlrHGR8XXOAn+/gQE9DJIsLXc5bTqllfJnSObZJ9sqgEN X0CxB5GZMfIph5505lM3VBauE9jtV892lBQsTMuQ+dj4QgBBevHi8YAhipsIIiRBZ05T 8lJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=grqP3StK; 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 y8si2287071ejk.39.2020.11.05.15.52.13; Thu, 05 Nov 2020 15:52:35 -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=grqP3StK; 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 S1732792AbgKEXra (ORCPT + 99 others); Thu, 5 Nov 2020 18:47:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:46182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732396AbgKEXrZ (ORCPT ); Thu, 5 Nov 2020 18:47:25 -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 0E9E022242; Thu, 5 Nov 2020 23:47:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604620045; bh=m6HGv9sr5Fax/hswnWxPLtSMdHhkxBHAhbVIh72kMgI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=grqP3StKyPvI6JXyKYUqIDURmh5gf5wsumkZAcD9jUKDSrfF3eO0Zlty0+w2SF7Zr +FHGUElVgzaI79+M0lI12oNP6f6BF9hHBRVd4wA6ixGJmFZw62fyhdRtdfKpYQ26ET Nql2v4a1aRn1hFqpVZzm90PCwQ4dd/hl2/tJFxoA= 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 08/28] rcuscale: Avoid divide by zero Date: Thu, 5 Nov 2020 15:46:59 -0800 Message-Id: <20201105234719.23307-8-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" The rcuscale test module does not use batches, so there is only ever one batch. This commit therefore informs the kvm-recheck-rcuscale.sh script of this fact of life. Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/kvm-recheck-rcuscale.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcuscale.sh b/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcuscale.sh index aa74515..b582113 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcuscale.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcuscale.sh @@ -32,7 +32,7 @@ sed -e 's/^\[[^]]*]//' < $i/console.log | awk ' /-scale: .* gps: .* batches:/ { ngps = $9; - nbatches = $11; + nbatches = 1; } /-scale: .*writer-duration/ { -- 2.9.5