Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp674763ybb; Wed, 25 Mar 2020 07:31:50 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvDvIEMGkVoD8XT2zejGwIn8P2PEdMEnMYtmRWgRb00ooxj59GmB2r08Uie3JZm9cyVelry X-Received: by 2002:aca:de42:: with SMTP id v63mr2483402oig.99.1585146710313; Wed, 25 Mar 2020 07:31:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585146710; cv=none; d=google.com; s=arc-20160816; b=X7kbqcnALx1siYiKJrsHD0GAAQodFE9syxHOBFnpN1R59idozRjmJAUTrhQmHKFuT1 HYvF1MRqjdeDjhmUOb+yWbEIxdQF8LYhzAQpeYfSfUwZIr5Wc5wzjGWzhi7LSiZZ1spw 5XliUaNw2O86aetTuAYybddo7JUCoDUcHaF2Wz/k2utVmpcVaPhF7dT/AVn44XQ+e2K+ Sw3R7ChWeB8L1y59/nwQinsJoVWR+LyKwfShv/BjYbk5C9EYqS6ZVOKS7znQ0f3IveSQ bjzndNIcU2+WZy/HS45g1Djk5sX392CZVw8bTYYW7A0DYuNLt6KWBy25y/nXefJNEDum nnaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=xK7fLCOSSVH8HJsoEd66t540+DpWVzc878w2lJBoIek=; b=vxOM926a/F74E65AhhHio47j0gElNfY61NpYZN5PAlwhxsb4CCrjD/xFINcstdaTlj ntpAD1drH5BIKcuDVVa3pofszumJrCvVx85TTEucF1yLzNci0R2Cw9bF7zG44c9Xgrqx VT6Kc6XYY9h8NZOEXVZjSa1r5lLrEVB54bNK3HdptE4shleOV2S6A86vSiNcEjWDNTMs Umi5jo0HcEyYnZG0nB3lz3zbkM3DWwRvmQ/zcwAYPIQz/i98bTKN/Ej+NLTqaQWOnBOo ksnEFbIbZCinqaSS7CwwQ/v3rpnyrhh8fH27qmHV3sCpgFvfSVwYiPxGXlCekVG5o8Dz anBA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l75si10388071oig.59.2020.03.25.07.31.35; Wed, 25 Mar 2020 07:31: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727724AbgCYO3k (ORCPT + 99 others); Wed, 25 Mar 2020 10:29:40 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44748 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727501AbgCYO3k (ORCPT ); Wed, 25 Mar 2020 10:29:40 -0400 Received: by mail-wr1-f65.google.com with SMTP id m17so3324034wrw.11; Wed, 25 Mar 2020 07:29:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xK7fLCOSSVH8HJsoEd66t540+DpWVzc878w2lJBoIek=; b=dnhA39pPS/8f9/GN4xySx8k7TPWXzL46VPbs9cs2YTPSOW0TMM0Zc5RAKWpi8ubbjS J3/VtH4BlMyBK0F0QCM7VU2icxTHO95RG7tBOvggCI5ezG16ZL49l5G2tajqAADKWOrv 3mm+gOaLKO3JqTMfaFKI09BS4HZHdH9pdXocjwW/gcxOi8JnXRa11h4S/ol7SQP9hpbG 6JS2AK0mk9GTLZVzdSzP9l3RnJ3EjlHvbHoEA5JH5k9clj05VAbuKM2PkrM9hghA5ewb Mu4yn8kwqFpihtHmp36JejyF+OoF2dVzXbAT5BdU57MMuF46eg8GexqwoDh6n7EeDmIk gK7A== X-Gm-Message-State: ANhLgQ2jmk2HTGh6qtsi7cSYi9Sl+5jIPvi/BkoVyr6S/RQymBTesLiv W75uidHapuogiyVDAmRfY8RGNjUR X-Received: by 2002:a5d:4683:: with SMTP id u3mr3723218wrq.248.1585146578476; Wed, 25 Mar 2020 07:29:38 -0700 (PDT) Received: from localhost (ip-37-188-135-150.eurotel.cz. [37.188.135.150]) by smtp.gmail.com with ESMTPSA id b15sm33619364wru.70.2020.03.25.07.29.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2020 07:29:37 -0700 (PDT) Date: Wed, 25 Mar 2020 15:29:36 +0100 From: Michal Hocko 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 , David Rientjes , Matthew Wilcox , "Eric W . Biederman" , "Guilherme G . Piccoli" Subject: Re: [RFC v2 2/2] kernel/sysctl: support handling command line aliases Message-ID: <20200325142936.GC19542@dhcp22.suse.cz> References: <20200325120345.12946-1-vbabka@suse.cz> <20200325120345.12946-2-vbabka@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200325120345.12946-2-vbabka@suse.cz> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Both patches look really great to me. I haven't really checked all the details but from a quick glance they both seem ok. 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. 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 -- Michal Hocko SUSE Labs