Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp398813lqh; Tue, 7 May 2024 02:37:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU5BYzNT/Vs1KkqmtQ6740u+oL2hCcdM53pA4JCpfV+pGT/IuPaReU2aPujfxeLfbwa10XC2sF/Vxxy2Obw8I6JpGeafj+s4zj050Z+5A== X-Google-Smtp-Source: AGHT+IE/szQIBXTlb5Gn4k6aEDmc1GPVsTGJIf/yIgLJp5LinnBP/mSLiP9jbv5AMqm9kEPVRENA X-Received: by 2002:a05:620a:1475:b0:792:9248:7052 with SMTP id j21-20020a05620a147500b0079292487052mr7613199qkl.67.1715074638489; Tue, 07 May 2024 02:37:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715074638; cv=pass; d=google.com; s=arc-20160816; b=E9S2WKK3kjUY/g4TaNnZ/LBLwaUqGRCRol2cOlMY21Iv8eNqlMiSkOFTOEFqN2/VHQ ASCH9DV+PEh5RUD4Jde+VMpSfOVM4OEmufpV/dvtu60d1O2BDZHOBIwh/tuM34lP5fKA 9/mgjJ/wtHuJJq4TrxdYDfr/kvDr3yYIXKhyNm1MowsqkGewGDSfj6lVLuImKiGdJA+q euULihj8SCMs6qotT0oQyfLjg6VoPXz9LYxwUluNAgOEG3Xe1YWrXffjl7RatttTtg2E uMMBZufJ9UyvQqVtDLxcXrMeHtLwtA2UXN4rzOsY88rMKwID+goF2xsR7sUb3AdgX6NT Cjzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=eclAVoj14Efpyk+hWPVGoQ5bvRfQw2I1KgUC6c1EF4Q=; fh=bO1kGNFOGLWADoJpwoxaunaKJklZbOsP+goJsQPSmX8=; b=U3t5v/tO6FYY3K9q9SHgr5nPSxB2lpiGkXinK0zmXPm31//9yO5Q8OO04FfqQAaMid 9AQcFRzBqqT38HLRfQ954u6Dl5m8zJIKCRxMONIjoKx2pQQe74/RCZ/m31ImoJ0uEvhD QQthm8ATA+23xhgw06YqLv0zWH4Nn9z9UZhohWBw/W3T2soQ7g/6/gVV4aeL4OblItuQ 7fP/g2CRd1McorFAMei5yJLaGdSCK2YevtRBSdsN+pAU5irkIQ+27VYyvWLYml5DS6d1 wAC3Egv684f4CKy4LBw5aO0CGh/DaQmO0Q6X0bG/owjvLeGQunId54HnIXftMkAb8Dog FVWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GThhpff7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s15-20020a05620a254f00b007906837a560si12419834qko.103.2024.05.07.02.37.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 02:37:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GThhpff7; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 314921C234A5 for ; Tue, 7 May 2024 09:37:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B985714D6EB; Tue, 7 May 2024 09:35:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GThhpff7" Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CA6914F9DE; Tue, 7 May 2024 09:35:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715074541; cv=none; b=Ys4S5Fb19P5h7D7/Dv1kKo6CRbAdcjl8ePkB0DPAQy1Wof/31CAG2vo2C71XRLQFE5iqFeMh7evzdShfo0g4k5mAXDDcSoKGYAMl7q6+RrgTyUYtR65sB1/B2WA0DN85UoqL00Htm6e4Ld7KG/E5ekWbFSJKhpGtxhGNW4wuj/I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715074541; c=relaxed/simple; bh=woWciDuB/Xya4YTrH1Yno35AomIgowF5eaSff2qzqBc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gECjGg+MTUc/xRuZZYdBoX+lpNeBJG0Tl1hXRqNmdt7T9HwzU1ZOs7UDygqRv76xx+vNUqzp+EGCY/m+vg0OufPTFv/VkhjTxlFmJ8I3I389fWvOqE2Qm6iINPzAsifEj7Y6PXT6t30Vw2h0tegEBeXiAIqacDLTaRXFnSnkWqA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GThhpff7; arc=none smtp.client-ip=209.85.208.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2dac77cdf43so37615171fa.2; Tue, 07 May 2024 02:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715074538; x=1715679338; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eclAVoj14Efpyk+hWPVGoQ5bvRfQw2I1KgUC6c1EF4Q=; b=GThhpff7B8Jfh0Ak17LSSKb55NG4Re8RVvwN13VWb9OER8xD6g5yJiPXolu2cjzhTa Vm7IG0kJqudqegw+Hb0zSsSvtrstuTO7mudWid+FvdHAB9Qh4nyFxlogVtEgnfjOHBbC 0A6SJ6EvaFVtwa9uTI+LUKKrLD58k9qgY1O3vWnJBrtoy+/PMsgkAsJYPPXlx0KwgzzV evKwzrj8QlBO2t6eJuz5F3tBuArI49GYolexkFwFsvyJVRVLPrDFOaQbSTLnr0NTcPfs GzmjjZutpfRHRJQmkHDjOX2QSaSSdJ4EYMdAY00Coc5i11+14mpAfHE2QoaNmI59NKVg BJCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715074538; x=1715679338; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eclAVoj14Efpyk+hWPVGoQ5bvRfQw2I1KgUC6c1EF4Q=; b=oN9HDdkzppTF6a/g46as1ws/gVTlO0px8Y+tfVBT2clMpWSthfvhm5OFtSXb+ARNRO clyMpZBSzB1VASg+PLaXVlD3e7Cn5803RpyjNTxyN82Qc+C+vITrhoKmvc3sGjVpqFZ8 oz2owTLyYf3K6pIqfwHHXV8iJ3X1Ts19OD8pGrttKTwYM2Bd5gVa8b06quEIQKMXU7eK wNC9y7WA7Dfwe23sPCPvtLUdHHDnQP7uPjrEl8CgCL12atxFIsQ/v05IHMX0x2rAJx6g lletAe4V1gg+wqnQ4g/DoWVzdm7Uss/4WcOrIgR8Jgt290LFP+bBnmETm6wqV3rQQgqm 1Crw== X-Forwarded-Encrypted: i=1; AJvYcCXhBB3mvll0KMg4mXtl2DIJIvGbCzBN7dqh/jsF+huTWXvd27x1W5Z+pi24aJJYu3p7O+Z19TLoKj8RcMNKs6Higa/mplt7J+WzSTw+ X-Gm-Message-State: AOJu0YxBo+nDnJLsftlXQ2A31Sj3HxBp0U/b/0NOLYqSMC2Scehqlgbl qVccRn28BfwlNzrDyVCReZPk50DcT4L35ySP2Ot97XLws4Hhf6VrttvAMA== X-Received: by 2002:a2e:80d3:0:b0:2e0:c689:f8cd with SMTP id r19-20020a2e80d3000000b002e0c689f8cdmr8709643ljg.29.1715074537908; Tue, 07 May 2024 02:35:37 -0700 (PDT) Received: from pc638.lan (host-185-121-47-193.sydskane.nu. [185.121.47.193]) by smtp.gmail.com with ESMTPSA id t18-20020a2e9d12000000b002e29c50c4dcsm1335473lji.27.2024.05.07.02.35.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 02:35:37 -0700 (PDT) From: "Uladzislau Rezki (Sony)" To: "Paul E . McKenney" Cc: RCU , Neeraj upadhyay , Boqun Feng , Hillf Danton , Joel Fernandes , LKML , Uladzislau Rezki , Oleksiy Avramchenko , Frederic Weisbecker Subject: [PATCH 05/48] rcutorture: Dump # online CPUs on insufficient cb-flood laundering Date: Tue, 7 May 2024 11:34:47 +0200 Message-Id: <20240507093530.3043-6-urezki@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240507093530.3043-1-urezki@gmail.com> References: <20240507093530.3043-1-urezki@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Paul E. McKenney" This commit adds the number of online CPUs to the state dump following an unsuccesful callback-flood test. Signed-off-by: Paul E. McKenney Signed-off-by: Uladzislau Rezki (Sony) --- kernel/rcu/rcutorture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c index 45d6b4c3d199..6611ef3e71c3 100644 --- a/kernel/rcu/rcutorture.c +++ b/kernel/rcu/rcutorture.c @@ -2833,12 +2833,12 @@ static void rcu_torture_fwd_prog_cr(struct rcu_fwd *rfp) if (!torture_must_stop() && !READ_ONCE(rcu_fwd_emergency_stop) && !shutdown_time_arrived()) { WARN_ON(n_max_gps < MIN_FWD_CBS_LAUNDERED); - pr_alert("%s Duration %lu barrier: %lu pending %ld n_launders: %ld n_launders_sa: %ld n_max_gps: %ld n_max_cbs: %ld cver %ld gps %ld\n", + pr_alert("%s Duration %lu barrier: %lu pending %ld n_launders: %ld n_launders_sa: %ld n_max_gps: %ld n_max_cbs: %ld cver %ld gps %ld #online %u\n", __func__, stoppedat - rfp->rcu_fwd_startat, jiffies - stoppedat, n_launders + n_max_cbs - n_launders_cb_snap, n_launders, n_launders_sa, - n_max_gps, n_max_cbs, cver, gps); + n_max_gps, n_max_cbs, cver, gps, num_online_cpus()); atomic_long_add(n_max_cbs, &rcu_fwd_max_cbs); mutex_lock(&rcu_fwd_mutex); // Serialize histograms. rcu_torture_fwd_cb_hist(rfp); -- 2.39.2