Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1755165ybk; Mon, 11 May 2020 03:33:43 -0700 (PDT) X-Google-Smtp-Source: APiQypI/DnoNDeBOoOk3fP5VbJVp0b+Ja6w56WDztvZcOYRmdKayxZhliJjEhbUiTbAOkpAjOwvY X-Received: by 2002:a17:906:340a:: with SMTP id c10mr13020592ejb.218.1589193223389; Mon, 11 May 2020 03:33:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589193223; cv=none; d=google.com; s=arc-20160816; b=KTrg77Gi4sPnFbWBOnKht65luMb/yTwREubvPlvCfiEHCrFpdnp2aeIeUWLcYDdOrA oNP/t/e1WYV7SyL27rM2hTp8TtC8BB8h6DmJbNXTmi7D+KYW1uWX/2Adw/Kiwjw3Rujm kJ0+pJphLBcM4TKXQ0oLR2gpA8JHFjoTIOHbbLxqT9sUijgeAwVyR/yNMFRmCvWtU4KJ mAaZCv/LYE/39iDFgpTc7d0ehjQ70uxs30ATwwsL9XwtLpj/6TvqzKUHufGzQtr0uwRL nqOCM3kyTAtpcKr7Ci8LzOL17+78iwCDq5Yd27/eNvmwPdJnrn/RV1TjlrgfQgA3FVXe jvAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=PGVKH8fKBRoxI/OIBN1q87r0dgE5Z3oyUyosw8kFxnM=; b=ShJp+eeJENBPNmPoULfS27FkrG9+/XyVmTuHqY1BJJ9eeOW6ZXEKRYiPUJAXQmkgbi 1BBd10m0lcvk89QNCSsflMk5xfC5NRyS0Dripe1LKzB9mReB8+1cDB8frkSdhz9SOGZg 7F6F/5YZ4uog3Bw6UO2/cpZmxJOOf71CuP99VIW4jJGG9eXsP9sl3VaiTD5H1rdQ/Iqc rPKWLfo2DjGqMLM8xyyoCt2QM3+ZLhFnsrOcy1+yL2Z7p9aqSHvs3Z/1dYOeqr8p27Cd c7YaNxlfJR0UFPb3P1Zdsrn88stenRr/jjE7x48CbLZc40R5EaizK1oQDQ6QPOCHECiM Bulg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df22si5459939edb.272.2020.05.11.03.33.19; Mon, 11 May 2020 03:33:43 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729131AbgEKKbc (ORCPT + 99 others); Mon, 11 May 2020 06:31:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:46204 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728209AbgEKKbb (ORCPT ); Mon, 11 May 2020 06:31:31 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B6600AD11; Mon, 11 May 2020 10:31:32 +0000 (UTC) Subject: Re: [PATCH] kernel/watchdog.c: convert {soft/hard}lockup boot parameters to sysctl aliases To: Andrew Morton , "Guilherme G. Piccoli" Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, keescook@chromium.org, yzaikin@google.com, mcgrof@kernel.org, kernel@gpiccoli.net References: <20200507214624.21911-1-gpiccoli@canonical.com> <20200507160618.43c2825e49dec1df8db30429@linux-foundation.org> From: Vlastimil Babka Message-ID: Date: Mon, 11 May 2020 12:31:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200507160618.43c2825e49dec1df8db30429@linux-foundation.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/8/20 1:06 AM, Andrew Morton wrote: > On Thu, 7 May 2020 18:46:24 -0300 "Guilherme G. Piccoli" wrote: > >> After a recent change introduced by Vlastimil's series [0], kernel is >> able now to handle sysctl parameters on kernel command line; also, the >> series introduced a simple infrastructure to convert legacy boot >> parameters (that duplicate sysctls) into sysctl aliases. >> >> This patch converts the watchdog parameters softlockup_panic and >> {hard,soft}lockup_all_cpu_backtrace to use the new alias infrastructure. >> It fixes the documentation too, since the alias only accepts values 0 >> or 1, not the full range of integers. We also took the opportunity here >> to improve the documentation of the previously converted hung_task_panic >> (see the patch series [0]) and put the alias table in alphabetical order. > > We have a lot of sysctls. What is the motivation for converting these > particular ones? It's not converting sysctls, it's converting legacy boot parameters that have a sysctl counterpart. There's not a lot of those, and new ones shouldn't be added with the generic infrastructure in place. I would have converted them myself if I found them :)