Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp24172ybb; Tue, 31 Mar 2020 16:15:48 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtMyBkt17GTMUzMqgJnN4ctQNuaSIT0IacLnaCh7TFGKscfTdYkGVW3Iy9syKNlzMl88IJe X-Received: by 2002:a4a:3b50:: with SMTP id s77mr15152399oos.53.1585696548318; Tue, 31 Mar 2020 16:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585696548; cv=none; d=google.com; s=arc-20160816; b=YIeQEYiUoKiYZ4aPHK/s71n8oR3BQa5f7mpO5XE54Z4r+ItjBVQbovGOveZD6h9n3C 2B9yJ2VbB8IScPvAw/xw4q+0ksTbBldMHiyb2P13UdI3PgOu8kcyav0hCPiNFua00g70 XI3LjF0fwqNUKIzFCRGtk6/eFSJhkQ23WfoyFmzThoAKpMJu8KyB+MCicLGtVkT7/e2V 8bWjXN+8ovYeIa0o5vEQg540UFgjUai/3gQJU6V3sFV7AZRATanFaJIN4amBRZGWYJeG w7ZlDsBaSQjIG4Aj6weKrY+7L70NvC18TuL6ESUgwHbjIia9/41DgMKXGe1A9wI6W5Ff f6Tg== 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=jKJKsBYIMQSPT3MeC5haBZmpo6KUAi6I5dOPVCYxGFc=; b=xrGx3hWZOr4175V6oA8wyB3J2ODwDm75u/QpRbE0FGQLZGc5qpQBR8khFDLPyfhOqv ht/3P4k2174TqpEXs/se5VfXpWRVl7W/XLrZvNTL/ZVZnX7fcb/8QCSlOLdHn8+sSpxm sGvNlHqEHzTSVkQl4u2ulyoDMS1BSVcr3x7ZtZ7UavNFTSAEkx7blFYSnRxLKEyL41xh TGMlvS4+zH6H+vboNtCQd8nTVaKw3+F0wIXyN2HYTvOQdQR/Sz0i0B3v83hSZfDmonbq TD56c/5J2aBpv2jT1UbPs5FgkcJlzVRs/V1dVRNaxI1M4tgQeP/QPxY+kkJWeWjczCUo t3Ig== 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 r5si25026otp.241.2020.03.31.16.15.36; Tue, 31 Mar 2020 16:15:48 -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 S1731556AbgCaXO1 (ORCPT + 99 others); Tue, 31 Mar 2020 19:14:27 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:55949 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731424AbgCaXO1 (ORCPT ); Tue, 31 Mar 2020 19:14:27 -0400 Received: from fsav103.sakura.ne.jp (fsav103.sakura.ne.jp [27.133.134.230]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 02VNCsJL075329; Wed, 1 Apr 2020 08:12:54 +0900 (JST) (envelope-from penguin-kernel@I-love.SAKURA.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav103.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav103.sakura.ne.jp); Wed, 01 Apr 2020 08:12:54 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav103.sakura.ne.jp) Received: from [192.168.1.9] (M106072142033.v4.enabler.ne.jp [106.72.142.33]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 02VNCsuC075325 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Apr 2020 08:12:54 +0900 (JST) (envelope-from penguin-kernel@I-love.SAKURA.ne.jp) Subject: Re: [PATCH 3/3] kernel/hung_task convert hung_task_panic boot parameter to sysctl To: Vlastimil Babka 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> From: Tetsuo Handa Message-ID: <2ee52caa-0257-19bd-28ef-60a2b4041a8d@I-love.SAKURA.ne.jp> Date: Wed, 1 Apr 2020 08:12:53 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200330115535.3215-4-vbabka@suse.cz> 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 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 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) > { >