Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp383949ybb; Wed, 1 Apr 2020 01:48:39 -0700 (PDT) X-Google-Smtp-Source: APiQypKzHIctT+fe9IbuTM7jRtGT76MyJp56KEsAj+j93SIfO07BvLrI4h8JN6mR5xlasVSUWixJ X-Received: by 2002:aca:5057:: with SMTP id e84mr2100719oib.120.1585730919266; Wed, 01 Apr 2020 01:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585730919; cv=none; d=google.com; s=arc-20160816; b=UifdzxKfz/YnYMyNphEZLPTQme0C4Pz+7HnNTPvxsAQVrInv59TWSdGyjjKIWWQSkp zvFQ7NIGe0kZxLmSKI6dkMnHd31MbtgrwiBfno3mjDqjcfdv6vgBUCM+sA42UHn+4oEf xQazOCDO8CFyYHUd+Ho+T3gwsEvF2ngFahCTeFsHu/3sPcGDuQUR/q8iqAE3msrLqOJG TRHc4Sh3pjjU4At8Owzshd7SxI6I/B/wFeHD8v1h0OV84o8AIUGjIUL1iRvPhiyvVYnD aiVBzViXQ6LwrQBMR50y5xYvUObs6wvrA7m/9s//s66xPq1jl40AplGgQrsUny0uf9od o2hA== 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=5vMKULOdWtx6lMeXLeu7gfijkVrJ9UrYKc68pXwNftg=; b=erT2h1qejpCGx23WhWD2yuHmKyFWbD1rShv7yrbc3NHPUoVC5n+I6JXyRJHHFb5NdJ 60+hjhaLA5fh5xzLTce0ReALKZX/Evz9NoEOzIkINd9LrTQshGspRiDRGdctNucQ78BO o3MLF5eU1ZfzUOf7sgHaJ1csnyeWSPGL23rdcxIBhHcyUKuMJAketpU5e90lcJdF4eTK Mkc8h3tK12/IgBZ0Z6JORsDb/AjIl207W4R43MhPzvIOfNh0SKfI3Z+cxNIk5wTMMZ/b HM16R5c7lOTrmDN/fDke+OKdgbNYqvn02aTKkFbaDDzsnqImRWHXgs1TbMBhaAKEqetQ V0vw== 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 a10si551901otq.301.2020.04.01.01.48.26; Wed, 01 Apr 2020 01:48:39 -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 S1731544AbgDAIrL (ORCPT + 99 others); Wed, 1 Apr 2020 04:47:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:55962 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbgDAIrL (ORCPT ); Wed, 1 Apr 2020 04:47:11 -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 D5201ACE8; Wed, 1 Apr 2020 08:47:08 +0000 (UTC) Subject: Re: [PATCH 3/3] kernel/hung_task convert hung_task_panic boot parameter to sysctl To: Tetsuo Handa Cc: Luis Chamberlain , Kees Cook , Iurii Zaikin , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-mm@kvack.org, Ivan Teterevkov , Michal Hocko , David Rientjes , Matthew Wilcox , "Eric W . Biederman" , "Guilherme G . Piccoli" , Alexey Dobriyan , Thomas Gleixner , Greg Kroah-Hartman , Christian Brauner References: <20200330115535.3215-1-vbabka@suse.cz> <20200330115535.3215-4-vbabka@suse.cz> <2ee52caa-0257-19bd-28ef-60a2b4041a8d@I-love.SAKURA.ne.jp> From: Vlastimil Babka Message-ID: <9a11d5c9-b830-040e-219a-64cdb24a9236@suse.cz> Date: Wed, 1 Apr 2020 10:47:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <2ee52caa-0257-19bd-28ef-60a2b4041a8d@I-love.SAKURA.ne.jp> 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 4/1/20 1:12 AM, Tetsuo Handa wrote: > On 2020/03/30 20:55, Vlastimil Babka wrote: >> @@ -63,16 +63,6 @@ static struct task_struct *watchdog_task; >> unsigned int __read_mostly sysctl_hung_task_panic = >> CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE; >> >> -static int __init hung_task_panic_setup(char *str) >> -{ >> - int rc = kstrtouint(str, 0, &sysctl_hung_task_panic); >> - >> - if (rc) >> - return rc; >> - return 1; >> -} >> -__setup("hung_task_panic=", hung_task_panic_setup); > > Can we defer removal of this handler for "one release cycle" (and instead emit a line > saying that "this parameter will be replaced by ..." during that cycle) ? I welcome The old parameter is not removed, it's just handled differently, see patch 2. Both old name and new sysctl.name will work. > PATCH 1/3, but kernel testing projects (e.g. syzbot) needs to update their settings > between PATCH 1/3 was merged into linux.git and PATCH 3/3 is merged into linux.git . > > https://lkml.kernel.org/r/CACT4Y+YE-j5ncjTGN6UhngfCNRgVo-QDZ3VCBGACdbs9-v+axQ@mail.gmail.com says > "Announcing unmerged changes is too early (as this patch showed). And once it's in linux-next it's already too late.." > >> - >> static int >> hung_task_panic(struct notifier_block *this, unsigned long event, void *ptr) >> { >> >