From patchwork Thu Jan 5 00:51:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13089340 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 25234C54E76 for ; Thu, 5 Jan 2023 00:55:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229569AbjAEAy6 (ORCPT ); Wed, 4 Jan 2023 19:54:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230134AbjAEAye (ORCPT ); Wed, 4 Jan 2023 19:54:34 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3607949167; Wed, 4 Jan 2023 16:51:07 -0800 (PST) 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 C4D3A617E1; Thu, 5 Jan 2023 00:51:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23B54C433D2; Thu, 5 Jan 2023 00:51:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672879866; bh=+SBGJcW5NM+jwceWVhNAhuUN+/+/UkOjdZBLUpdiCc0=; h=Date:From:To:Cc:Subject:Reply-To:From; b=LycCrF9oDneYfT1T9HIFikIqZak9IVe3LsiWKHUozuRW7SlUiWrjGhPa4SKJi4bbD JfDnVMdbl7yv+38zbVAIU8r9adn0b1xdAeqK93TqDfVn5KAWGuiknwSScg8MgoYtaz 4LQTanwmwffwSwEC3aQGNrjUgjrH3duAOfJY7DKmWKu2QZaif9+ZLO+AvCOcQZZ89R US0qLFIrwe0wL9BqE4ZKkgOz/+k5hL6VJMgR3e2TKJ6VjHfDMGCksZdZgmUKp5qIlx mTDREfBPeVw3jaxcfcESjuWFP2mhtUbsP7+O8M1NtP66KhU6aTd6gE0WRVR35uxJpC sg/ntPgLwLB+A== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B7EBB5C05CA; Wed, 4 Jan 2023 16:51:05 -0800 (PST) Date: Wed, 4 Jan 2023 16:51:05 -0800 From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org Subject: [PATCH rcu 0/6] RCU CPU stall-warning updates for v6.3 Message-ID: <20230105005105.GA1772125@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Hello! This series contains RCU CPU stall-warning updates: 1. Fix the return type of kstat_cpu_irqs_sum(), courtesy of Zhen Lei. 2. Add helper kstat_cpu_softirqs_sum(), courtesy of Zhen Lei. 3. Add helper nr_context_switches_cpu(), courtesy of Zhen Lei. 4. Add RCU stall diagnosis information, courtesy of Zhen Lei. 5. Align the output of RCU CPU stall warning messages, courtesy of Zhen Lei. 6. Allow up to five minutes expedited RCU CPU stall-warning timeouts. Thanx, Paul ------------------------------------------------------------------------ b/Documentation/admin-guide/kernel-parameters.txt | 6 ++++ b/include/linux/kernel_stat.h | 2 - b/kernel/rcu/Kconfig.debug | 13 +++++++++ b/kernel/rcu/rcu.h | 1 b/kernel/rcu/tree.c | 18 ++++++++++++ b/kernel/rcu/tree.h | 19 +++++++++++++ b/kernel/rcu/tree_stall.h | 31 ++++++++++++++++++++++ b/kernel/rcu/update.c | 2 + b/kernel/sched/core.c | 5 +++ include/linux/kernel_stat.h | 12 ++++++++ kernel/rcu/Kconfig.debug | 2 - kernel/rcu/tree_stall.h | 6 ++-- 12 files changed, 112 insertions(+), 5 deletions(-)