Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp426537ybb; Wed, 25 Mar 2020 02:33:50 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsZaYAtVLiOY4PMmcfXE4dGNPTRhuIde5KnHojqcPVlvgPzH0eCk8F3TM9YpQPBV3b6yLh3 X-Received: by 2002:a9d:3b6:: with SMTP id f51mr1860409otf.255.1585128830611; Wed, 25 Mar 2020 02:33:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585128830; cv=none; d=google.com; s=arc-20160816; b=kXQWvPRmTPOcDrg8VykvkS1+Eu/FvHypQh3qhfyETkeC1sKo9GXUoHZHPoowLDKNfL hQDYoJZZPahvFeZJn9BqWLkVyBdj3JhDAcK7/DCBMA2et0xGZ634asgSPiFFyMCYs8l7 6Yv7ZGT1RkObb2jKxqcdh/D6LfWCUF8nKH35Rr28sH/cKkn0OR9culVJ5/4QMGPjgMPK l4rfjJfeWvinLqDBkPsrBzw2GoHFx3wAxibJ3RFPGvu6OquMjJzyz5XUAiA4POn1HUJL j65GZvY7oHiLCrKurYfyy/eS9PunfKeelBquniroaobKZWKWr618hgAd2NOPWx3B3U3S +/WA== 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=yDzj6c7+sOF1YApPaNvC5onIsgRLWkGhEJ/mGxr0OYI=; b=NqSTNKd3odz82kCtlpOL6BdkUWscPjZfxhcXYhHyP5XBCK7B9KGkoomabvSdvUWigO VgEgjDQaRrg8FtMQG9YjzDsmJmsPXUChv+9EowJorqWjbvuKewbE+vg3rnEWaiRtuw/d m7+Sfg+GFQC8e7k4Lward2T3Ds/9YIbQ0Wwlu8BXT2qiAG8vHqMtKjTPwgEC8uXvySR2 Sb9HLuPRpXKznyOXX9KD4o8hb9PAF5QoCbOSIAvclQ/dp+pkzrYHzpgYzP2UkDb66Ayn 7PC9Qniwk8Hyt+AReQgSCxFWYyZsDy3vtNLLlbVkPv5a2CaVqBJkzC3750YATJmyVgIi LKPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si12269952otj.116.2020.03.25.02.33.37; Wed, 25 Mar 2020 02:33:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727406AbgCYJdS (ORCPT + 99 others); Wed, 25 Mar 2020 05:33:18 -0400 Received: from mx2.suse.de ([195.135.220.15]:58424 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727158AbgCYJdS (ORCPT ); Wed, 25 Mar 2020 05:33:18 -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 7C6CEAAFD; Wed, 25 Mar 2020 09:33:15 +0000 (UTC) Subject: Re: [PATCH V2] kernel/hung_task.c: Introduce sysctl to print all traces when a hung task is detected To: Kees Cook , "Guilherme G. Piccoli" Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, mcgrof@kernel.org, yzaikin@google.com, tglx@linutronix.de, penguin-kernel@I-love.SAKURA.ne.jp, akpm@linux-foundation.org, cocci@systeme.lip6.fr, linux-api@vger.kernel.org, kernel@gpiccoli.net, randy Dunlap References: <20200323214618.28429-1-gpiccoli@canonical.com> <202003241119.A666E1C694@keescook> From: Vlastimil Babka Message-ID: <9eab7f80-bad4-bcb1-7ec7-b6b90839b13a@suse.cz> Date: Wed, 25 Mar 2020 10:33:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <202003241119.A666E1C694@keescook> 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 3/24/20 7:20 PM, Kees Cook wrote: > On Tue, Mar 24, 2020 at 09:45:40AM -0300, Guilherme G. Piccoli wrote: >> Thanks Randy and Vlastimil for the comments. I really liked your >> approach Vlastimil, I agree that we have no reason to not have a generic >> sysctl setting via cmdline mechanism - I'll rework this patch removing >> the kernel parameter (same for other patch I just submitted). > > I've been thinking we'll likely want to have a big patch series that > removes all the old "duplicate" boot params and adds some kind of > "alias" mechanism. > > Vlastimil, have you happened to keep a list of other "redundant" boot > params you've noticed in the kernel? I bet there are a lot. :) Well, I found about 4 that mentioned sysctl in Documentation/admin-guide/kernel-parameters.txt I suspect there will be more, but won't be trivial to identify them.