Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10612327rwl; Mon, 2 Jan 2023 05:35:53 -0800 (PST) X-Google-Smtp-Source: AMrXdXtHEz3crIkCyoW4uybuQWFATeH9oE/JRK1CugKKMiBblXEzwpMq4XV8j2GjHOzmPcD+V8VY X-Received: by 2002:a05:6402:f04:b0:46d:ca42:2e59 with SMTP id i4-20020a0564020f0400b0046dca422e59mr39379896eda.11.1672666552690; Mon, 02 Jan 2023 05:35:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672666552; cv=none; d=google.com; s=arc-20160816; b=BZVzH3KrErGseX1v9k2aUYsOP1IxuP8MnkabVb2KF/bwHk0QnMvtVRvzGfJOhlnnD7 BLmIOEENdfykPBRkuNQIYi5hS+sWQzX24/rtDZ+jCqJvl3zuJ0LGri/tCDk1bNUlgEau wCqE7kiJOWInzBiquWiioqt9VDQ7ZvFyjax8vx0/jVkRV6DC8KHaVWIMIScTb1RIqqKd 080vHBUHNIZ03yqYim/HxAdllAq75YKFptITYW+aFb4+HpfhYQwph+jkdxnKr1SmYSZn snoeOQAUdjzJBBBL9THbE36p5Ha4S6frxPLRGMLcHL3xci1J3k4a4bFBlBSbY36GydxH exTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aSkWLDZTpnagtlRlVfYNfgcz9t18lpyMm2kr1NP8PFs=; b=zg+BOfhUkBvaj3Gwb4NZwoZYOZHwF0tkWy6X2wk7zWHEw6jUurq9xQ+xtnyBClYpVS 9C0QnzV6fkWd10LVnA+E4Ijt1jpDahhCjjY9UhsV650UMDm+vRiRbNoKbWCjnNdXInt8 5jsJJhKKNHPZua57+oVLLV8r0xr9WJG+szxRBenIHiYmSfSHHZzgeC4/Q0j54P84pxxK RdCq/krsMoSquL2z4dy+zN4wHrVqIsCxoQ5iME6eO6mr1Ah+hqgJexQUsLCT2v8pQZJ2 6c4ddtU73O3YJePBW4HMOdGILWeNTEnCsi2/KGQRRBaKgpYkWY9LlZZud7ktqabW8Zyi LNHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="QZ/xZHVb"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r2-20020a056402018200b0046bb35e06e6si6550868edv.149.2023.01.02.05.35.37; Mon, 02 Jan 2023 05:35:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="QZ/xZHVb"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230199AbjABNVS (ORCPT + 61 others); Mon, 2 Jan 2023 08:21:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjABNVR (ORCPT ); Mon, 2 Jan 2023 08:21:17 -0500 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9212362DB; Mon, 2 Jan 2023 05:21:16 -0800 (PST) Received: by mail-pg1-x52d.google.com with SMTP id f3so18334110pgc.2; Mon, 02 Jan 2023 05:21:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=aSkWLDZTpnagtlRlVfYNfgcz9t18lpyMm2kr1NP8PFs=; b=QZ/xZHVbUbW+EUjQjZSe1C/+Aif6Wa/hyyCwiIGIiJ0IT2DSPokiKWNFFY5Vr0qoUi l9TS2twjCl6FsSoLe8W0BsZ+naFrE2g4rget/c+2z+CSuN9OnNUxwP5cp4O95rtenx8j nEPfv2k+nqKVlY/JHM9ELKcHGqCNlIute5Y4MPhZUamn2Wd4OQCx6bQi9q4mFoq+wliK em4m8WYX6qMs1BG5KlogmCjg+cSFr5JVZ3oRucX++XRU3EWdFs7wGQ1TXo8eMyk2fr4Q pFhmwZ0P5QZ6Y+eEmdt9ylXU3jJ8Ozprt5HmVm2RKbn64glFSRXsbQPx1dCCGb7fNKoU aoNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aSkWLDZTpnagtlRlVfYNfgcz9t18lpyMm2kr1NP8PFs=; b=XaPiWsGIj73Qcgw8UXXy+trGg/lM/HL8JUlLkV63iM6/6p7GCAm1jqt1gf0DrnH9hK F6zcow8Ss4P/xx9nUk6Wyf+gqK7QibVjhpsgs8JScHyg6oAlNB9RgRPFvS+l79lFk1qg T/Q+q7Dko3o3rqo8FxI+4Sb3TsRzk3Uf/hUBR89+KVXbwY7/A+NX7vcqB4LoMalZDnU/ M4svCfiXIcQcppYsnCznMda8uDAIqjSuXzibtLEE+2NFbBBDO/GZPuJIogL7GqSgla9I f6O0rmrPUOie/YuRc/KCOW+YJ5C6LTIxbd56TO4ez5DESRlX142NDM5ZCboTNkBWuUhL eNLw== X-Gm-Message-State: AFqh2kpeS5XtgriCrqRilCiFCF491zo4xHB3cFYS/VBtqdLC/yBT06pQ d8GzFZZmX/Lxf4mvkyma4YM= X-Received: by 2002:a62:65c3:0:b0:566:900d:6073 with SMTP id z186-20020a6265c3000000b00566900d6073mr38705046pfb.24.1672665675995; Mon, 02 Jan 2023 05:21:15 -0800 (PST) Received: from debian.me (subs02-180-214-232-84.three.co.id. [180.214.232.84]) by smtp.gmail.com with ESMTPSA id g25-20020aa796b9000000b0057627521e82sm6248544pfk.195.2023.01.02.05.21.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jan 2023 05:21:15 -0800 (PST) Received: by debian.me (Postfix, from userid 1000) id C61C51017FB; Mon, 2 Jan 2023 20:21:11 +0700 (WIB) Date: Mon, 2 Jan 2023 20:21:11 +0700 From: Bagas Sanjaya To: Ricardo Ribalda , "Guilherme G. Piccoli" , Eric Biederman , Jonathan Corbet , Philipp Rudo Cc: Ross Zwisler , Sergey Senozhatsky , Steven Rostedt , kexec@lists.infradead.org, "Joel Fernandes (Google)" , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v5 3/3] kexec: Introduce sysctl parameters kexec_load_limit_* Message-ID: References: <20221114-disable-kexec-reset-v5-0-1bd37caf3c75@chromium.org> <20221114-disable-kexec-reset-v5-3-1bd37caf3c75@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Je/2KglVQyb0wHc8" Content-Disposition: inline In-Reply-To: <20221114-disable-kexec-reset-v5-3-1bd37caf3c75@chromium.org> X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS autolearn=no 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 --Je/2KglVQyb0wHc8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 21, 2022 at 08:45:59PM +0100, Ricardo Ribalda wrote: > +=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +-1 Unlimited calls to kexec. This is the default setting. > +N Number of calls left. > +=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +kexec_load_limit_reboot > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + You need to match the length of table borders and section underline: ---- >8 ---- diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/ad= min-guide/sysctl/kernel.rst index a3922dffbd474b..a64b340c3ae509 100644 --- a/Documentation/admin-guide/sysctl/kernel.rst +++ b/Documentation/admin-guide/sysctl/kernel.rst @@ -469,13 +469,13 @@ This parameter specifies a limit to the number of tim= es the syscalls image. It can only be set with a more restrictive value than the current one. =20 -=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --1 Unlimited calls to kexec. This is the default setting. -N Number of calls left. -=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +-1 Unlimited calls to kexec. This is the default setting. +N Number of calls left. +=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 kexec_load_limit_reboot -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 Similar functionality as ``kexec_load_limit_panic``, but for a crash image. Thanks. --=20 An old man doll... just what I always wanted! - Clara --Je/2KglVQyb0wHc8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCY7LaQwAKCRD2uYlJVVFO ox6mAPwJd+dr2pYcjPBSrmh2DO+4fkJEDz4cr9YmilzKXxOD9AEAvEwnvgKAVF+2 eX+sEuilG5QdLjp0nsxuui3Xf/UYkwM= =LOUf -----END PGP SIGNATURE----- --Je/2KglVQyb0wHc8--