Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp681335ybb; Wed, 25 Mar 2020 07:38:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsAZUkQERyQdHO+iI7Ge9J67rDUdpB0MxPvhpZj+w+hCZfVGqpc+W//v0ZDbdbCqDIZ9S/q X-Received: by 2002:a9d:82a:: with SMTP id 39mr2661988oty.82.1585147117584; Wed, 25 Mar 2020 07:38:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585147117; cv=none; d=google.com; s=arc-20160816; b=PAu9fNenvpOWgIPXOSZJ4dtoXmWOhRGfhXIOl5X4QehP3FXcRkX2L89sMGLO6kC5O+ ++Z53LlP0Lb7/4VJPi8qKpvr7ORMeCIYT6DrC5S0F5cnaz4HYvyvW1TurWtkkgbGF/ZQ NB6bB3DKnvjkqAcMOG9v3b5vc27QPlQWZLBeT43WYqIT6tMo0ocwYmS61gpMkbuLgEDj hVo55F1Stcjk7ZXpYmLSisZ31B/wubdecRWq63bE/uH+BbE/GuJXnEcIZHj0DB3qmGKn IrBLwIrI34mhMnb/W7VBWzw5vJLBG4dO2WwGJcGZDdxjq5CbGZ56ZyenztpNcmfH1N4+ 63KA== 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=P5R3vSsVnWJDVe2Hbo1HHlUAV39erbT4IFVe+x736Y0=; b=zKvt4xoZlIAtStqn1DjiWDb1zREsYq23qKg8pSQckfmqymmtWWIHW5SAWt5FXqFutH ico2sdTV7DVU2icTEc7xWKdkdf89T5/87zYtepi3rzliKDgqxbdrgvGb3zfO8Y+608EN IUZAccbx3Oso8HIdingWfXrBV4vigEU2xHOGDM8TQmRrmP1muzBhAtnvK3vFc+P7kqY3 qhm1mpQM4PmN98A93KXMk430ptH2/n4E2/LehFzoWHqIzFrOr+xYlvvBW5z43fE8+aFh ilh+6rR3w73NFQZB2iRyBBaoguNGjCQiZmOujO/kIugZ2ctzt5Hw+/jXgPJunuenXKHn WYbg== 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 v1si11695428otn.249.2020.03.25.07.38.11; Wed, 25 Mar 2020 07:38:37 -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 S1727820AbgCYOg1 (ORCPT + 99 others); Wed, 25 Mar 2020 10:36:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:36610 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727695AbgCYOg0 (ORCPT ); Wed, 25 Mar 2020 10:36:26 -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 38A0DAC50; Wed, 25 Mar 2020 14:36:24 +0000 (UTC) Subject: Re: [RFC v2 2/2] kernel/sysctl: support handling command line aliases To: Michal Hocko Cc: Luis Chamberlain , Kees Cook , Iurii Zaikin , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, linux-mm@kvack.org, Ivan Teterevkov , David Rientjes , Matthew Wilcox , "Eric W . Biederman" , "Guilherme G . Piccoli" References: <20200325120345.12946-1-vbabka@suse.cz> <20200325120345.12946-2-vbabka@suse.cz> <20200325142936.GC19542@dhcp22.suse.cz> From: Vlastimil Babka Message-ID: <52faea3b-6442-3b1b-9404-6a018d1d1c44@suse.cz> Date: Wed, 25 Mar 2020 15:36:23 +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: <20200325142936.GC19542@dhcp22.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 3/25/20 3:29 PM, Michal Hocko wrote: > Both patches look really great to me. I haven't really checked all the > details but from a quick glance they both seem ok. Thanks. > I would just add a small clarification here. Unless I am mistaken > early_param is called earlier than it would be now. But that shouldn't > cause any problems because the underlying implementation is just a noop > for backward compatibility. Yeah, indeed worth noting somewhere explicitly. The conversion can't be done blindly, one has to consider whether the delay compared to early_param can be a disadvantage or not. For example the nmi_watchdog parameter is probably best left as it is? > Thanks a lot this looks like a very nice improvement. > > On Wed 25-03-20 13:03:45, Vlastimil Babka wrote: > [...] >> -static __init int setup_numa_zonelist_order(char *s) >> -{ >> - if (!s) >> - return 0; >> - >> - return __parse_numa_zonelist_order(s); >> -} >> -early_param("numa_zonelist_order", setup_numa_zonelist_order); >> - >> char numa_zonelist_order[] = "Node"; >> >> /* >> -- >> 2.25.1 >