Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2067898pxb; Fri, 25 Mar 2022 10:31:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCFrq5re00GsnY4wBKwVNrBIXOJRKdp/+hDkhmqJzLgpmuOewAIHRWZHtsEmTVpBJ+SEYY X-Received: by 2002:a17:90a:8595:b0:1bb:fbfd:bfbf with SMTP id m21-20020a17090a859500b001bbfbfdbfbfmr25709351pjn.125.1648229460509; Fri, 25 Mar 2022 10:31:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648229460; cv=none; d=google.com; s=arc-20160816; b=swnPLIuWDlhIMFUjhOW2/loiDKiv/Cd93Ob20uhf3gL1yvnmoEEqHj3PJVU1ncUtHp pm+M2/XHRL83PrkbPwKMKuxiC627OTlp/WJqqj4nFpCfE921z0gW52t35c/d2aI6KnGn 05bHo8T4Sgm2FLr8sarva8Lt3SIz4k5sfRepJs5O/JSmjY0gZ9s4+6OUV+bxx0p1sMGe VsF+lqnUM7zLIJUK7c9G8pkaZzUIkH0nePfkTEzsPozvvXlxEi8A1GDpUDHX5P/Ams98 QqCZC5NwpCwiwC+Yd9JXXUZOs0KjYYpf/pYpATWsmUXFiuUFp7ya+56lVrTebPR12ifx nxNw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=kVBjsNb2VDJLwgcDZYe43jQSQ0QHWlb+IMiUnQWI++k=; b=0TIRTRRrpIdiS+JCBJmBFKQz61OEoYsva2zdPplWGyyaKZj3VG16rBEZHysifypk/5 6D22v2pO/XgH06qBI9K6n82JxF8rQ8uL1reZstRY+ipNtMjQEujWu8hcLvduZXTDDhsG RIy5EVaIq5iL6tUWHxUaBNipMsp9V/tmlPY0skxm2Psj0pUQkJe1jRItEvWPgs0X7MMd 2ZhOVTz+Q9EmwAfh/vvv5TrutfUXG0afuWR9HxGnPkmWZTdCthbMjX7MrKfU76kWKzCV JIFZ/zCq/8asCmUsTYMtYL73FyLsMMBc6tsOxNVl5k3AjzNKxEqWTgHqwKeyp7ZTp1TM OBIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Xjir/MOW"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id o126-20020a634184000000b003816043f12bsi2913631pga.800.2022.03.25.10.31.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 10:31:00 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Xjir/MOW"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3852F2AE6; Fri, 25 Mar 2022 10:23:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355265AbiCXWN7 (ORCPT + 99 others); Thu, 24 Mar 2022 18:13:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230169AbiCXWN6 (ORCPT ); Thu, 24 Mar 2022 18:13:58 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BA456B0A74 for ; Thu, 24 Mar 2022 15:12:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648159944; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=kVBjsNb2VDJLwgcDZYe43jQSQ0QHWlb+IMiUnQWI++k=; b=Xjir/MOWTkMQQWhbf4+lec1P10/pPTlhY4Uz+8OGrkiVaMjDYB6CarcAQSZMJ+Nw8ndGhD ccwNYNd9KVTeJBlFEn+GFb0s38YEZXdIwcRPb7emmsS/N52J99XR7T0rgTMnnIO/AidSeU 6mtjhLus/zkmKSbDcGtbo+cF2Hulf3s= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-479-mogqiX2INry9iokN0gUTXw-1; Thu, 24 Mar 2022 18:12:18 -0400 X-MC-Unique: mogqiX2INry9iokN0gUTXw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E77CD381D8A0; Thu, 24 Mar 2022 22:12:17 +0000 (UTC) Received: from jsavitz-csb.redhat.com (unknown [10.22.33.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9CA8E40E7F02; Thu, 24 Mar 2022 22:12:15 +0000 (UTC) From: Joel Savitz To: linux-kernel@vger.kernel.org Cc: Joel Savitz , Jonathan Corbet , Andrew Morton , Huang Ying , Eric Biggers , Dominik Brodowski , Mauro Carvalho Chehab , Rasmus Villemoes , "Jason A. Donenfeld" , Daniel Borkmann , Rob Herring , Wang Qing , linux-doc@vger.kernel.org Subject: [PATCH] Documentation/sysctl: document max_rcu_stall_to_panic Date: Thu, 24 Mar 2022 18:11:56 -0400 Message-Id: <20220324221156.44813-1-jsavitz@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit dfe564045c65 ("rcu: Panic after fixed number of stalls") introduced a new systctl but no accompanying documentation. Add a simple entry to the documentation. Signed-off-by: Joel Savitz --- Documentation/admin-guide/sysctl/kernel.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst index 803c60bf21d3..4e48139b9a34 100644 --- a/Documentation/admin-guide/sysctl/kernel.rst +++ b/Documentation/admin-guide/sysctl/kernel.rst @@ -781,6 +781,13 @@ is useful to define the root cause of RCU stalls using a vmcore. 1 panic() after printing RCU stall messages. = ============================================================ +max_rcu_stall_to_panic +====================== + +When ``panic_on_rcu_stall`` is set to 1, this value determines the +number of times that RCU can stall before panic() is called. + +When ``panic_on_rcu_stall`` is set to 0, this value is has no effect. perf_cpu_time_max_percent ========================= -- 2.27.0