Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1144521ybj; Thu, 7 May 2020 16:08:22 -0700 (PDT) X-Google-Smtp-Source: APiQypI0E8yauB5i1QCsWP/36mZlPfmt62YEgxC04yivZwWXqZ9LZVlxwtdG5HIlJaEAQFLEvYSY X-Received: by 2002:aa7:c753:: with SMTP id c19mr13476501eds.21.1588892902542; Thu, 07 May 2020 16:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588892902; cv=none; d=google.com; s=arc-20160816; b=kFlXGJ0sUhBF/5ZINHnN/dsrXtm5Jgnb98PUS89sj/B58QaN7r4skAi+/OH+ieKdyS 9EaufEY2K1HIGkZ02VzwZjlaZFmYJyYRpsiLleU/LPcR15XTViWDBtLiKQI/QF8PgQKy n6AFrkzTdiAxGg2M9qi7LOx5Jqisu/xHPSy0vrjHpbZsALdhadNZRtTL43nd6fz9Ngbg C06xk/RfiPU4qljR+bhpzot/0HMu+hP+W5c08skF54T4P4BdK8al9AOsPNufGTZZxVEO CWu0nSwW9Iy65k3nHiwVSRno+QciqclwCJ3s4aOgZg+VeNAgOZWzojp3TNqYEaq8ZwfK Japw== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=3+6VGw+0DFyZEqP+x2IHmKwd/uGKl089iQYuABn4l9I=; b=0He+rxSJSCCSsww0Rj8yMrqQUOMyviAFOXRklRB86DhUNeEmHKkgxRI+ufiMPiaMwA dD7ddeZMzyEbxnutu/ddEGSK8leTcjTkm41sqXc+nc1RFQkk9TuYP63XitSJCV3WcFv0 Wfr0XMaLTqZIn1bZNBT1c1rDVjilSAi2nAblWbhghRrFIQxcVzCDN1kd8Ep1/xegLYYZ v4lk8WGJtGTXVK7+HoiQZtchZbISVs2lT7Meph2sZAymPo4IwF246/vR0sDpb4+n+RTI hO5wDveWwKladXibIek5DwF5rrEWY4QoyXssKDVjxZjq6JUQMQ7CqeMhp8g9Yfi/iQat wWsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QQMh0Mej; 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 g14si4138174ejo.108.2020.05.07.16.07.58; Thu, 07 May 2020 16:08:22 -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; dkim=pass header.i=@kernel.org header.s=default header.b=QQMh0Mej; 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 S1727772AbgEGXGU (ORCPT + 99 others); Thu, 7 May 2020 19:06:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:39034 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726572AbgEGXGU (ORCPT ); Thu, 7 May 2020 19:06:20 -0400 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5FFC3208D6; Thu, 7 May 2020 23:06:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588892779; bh=HAilGWe4lV9oUELeIOkLoxMN5NMr+o3TPnQtyqGETY4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QQMh0MejIC3msVJ9Mc0Vp4sql4itOWA1pUrx0ZwApVELQEAwDpfiMzam77C31caYN pIz3jTKcKsduV3DgmQiI4p+NYGVTPM0QaTknaUdLT2KvSVAtHrNUD9kI5Azml5xP1p 3fofpirtshBXkSU3cHNb9wbZlP09cV+p9Gfe6dQ0= Date: Thu, 7 May 2020 16:06:18 -0700 From: Andrew Morton To: "Guilherme G. Piccoli" Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, keescook@chromium.org, yzaikin@google.com, mcgrof@kernel.org, vbabka@suse.cz, kernel@gpiccoli.net Subject: Re: [PATCH] kernel/watchdog.c: convert {soft/hard}lockup boot parameters to sysctl aliases Message-Id: <20200507160618.43c2825e49dec1df8db30429@linux-foundation.org> In-Reply-To: <20200507214624.21911-1-gpiccoli@canonical.com> References: <20200507214624.21911-1-gpiccoli@canonical.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?