Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3557234ybb; Tue, 31 Mar 2020 07:36:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtQRieTaJpTjsBWFeEkuWoxqsEoa5X3ow4B9tPHXDSRnqqfZwbmpKxVVqgpEp62udncZLsj X-Received: by 2002:a05:6830:11c1:: with SMTP id v1mr13496742otq.264.1585665397604; Tue, 31 Mar 2020 07:36:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585665397; cv=none; d=google.com; s=arc-20160816; b=HW6pmFE3GMVv0GryGFnQp0PzhBI+x7hVzYoIvprWBITAYgvpovZQU4ncyCp/UAbyub rWoIHjS3fl7uVU964O0vUjmmr79TDNRkTvrqbq8s9s/PY0z3DsonZySnSZLoqKxXd0rr eEH+ApTFejfAAhrhQaT4B+FNmIqYdlXv4TeCQjF84E/TV6k2sbuWX0cF8JtqrkdLHNDb fBZZsNw7ajZ7IawnlaRI3FwmiD0qNtYxxvPsio07cQuqLnqTnl7ZCmMUUjO9GdcKYOrg 75R3O+zmR4Kt4qx31LFoRnpbqMl3+4ZXY6dCFn6W7qsJQLrC/uDGpaSHOGr4dFEg0YDf Qzyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=TSPLzvrnJ53vv3T/Bya9rsYLlqwB9kjQQg2KaBIgeo0=; b=ewXOn87ucB8NMzS/D+GIEL0BOJTfLGPusB0jX6ChVw0EG0JscxyMN37D9UJ95nql8A VfWfWNdeY1/QJkWHbTmIP1IOj+TY6J5JfYgXmkMuLYprzb9umXjhLFg0FdVBpy5mGMLi R3iIWM+Oi5TCdJahZf9XactxgcVOA/bOUKyToCEyxtluz8/J/aHDOhispHZDTnj2ZiVR 5LKqRKG/xa9DlQa2FPfUfgptbhMSRrQwpT1gqdvb5DChIjz0i+7gZ1oK4GfP9xCgDqZP 0xGI5toAPvjYyBJTBAhTZKNEAxsW59/JY2BwoxpdFdsQYq9UDEqeAZjrFn9eEnUtgXby Y3mA== 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 m12si7518846ooe.71.2020.03.31.07.36.23; Tue, 31 Mar 2020 07:36: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731122AbgCaOfQ (ORCPT + 99 others); Tue, 31 Mar 2020 10:35:16 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:42654 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730845AbgCaOfQ (ORCPT ); Tue, 31 Mar 2020 10:35:16 -0400 Received: by mail-pf1-f193.google.com with SMTP id 22so10402994pfa.9; Tue, 31 Mar 2020 07:35:16 -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:user-agent; bh=TSPLzvrnJ53vv3T/Bya9rsYLlqwB9kjQQg2KaBIgeo0=; b=qgCtSO0R8O9wBzICEumW8dbkN0MkW7zfsK9JspmQEYzexcvYOtx7M2JxUc5L5lGvIA 8TRzOLH/uC87vKucGSQnKaDmQJ8/fxPMuvmAFbgK8A7+fPF1zafWF20HHhH4C3eC0/s5 +Di+fjESm1uF2A8ogkhAxfxyTgMw/LKf4n7YhklQkgEYzjfKrdHr6jydHIm8AccTo7n3 uZpmkD0fKkCctFTMusb0jBNcYxTvKlyttBTp4JteFupFM7Z1rjJ1rhGLpRJ1O6ZEqoM0 uf1cutO152stutmuA8L5pd7tDyNLMbvvNOBWA/mLlJrEXyNH8cROC3rKSgjsspzLs1HY Rryw== X-Gm-Message-State: ANhLgQ323oxc0tQZcybzgkNj2kcDPs4bQ2FrURcxUhLA2XdpIcrOEy37 pvvG/47bQJbtssBFadApnB0= X-Received: by 2002:a62:ae06:: with SMTP id q6mr18802906pff.137.1585665315490; Tue, 31 Mar 2020 07:35:15 -0700 (PDT) Received: from 42.do-not-panic.com (42.do-not-panic.com. [157.230.128.187]) by smtp.gmail.com with ESMTPSA id w127sm12572793pfw.218.2020.03.31.07.35.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 07:35:13 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id A806E40277; Tue, 31 Mar 2020 14:35:12 +0000 (UTC) Date: Tue, 31 Mar 2020 14:35:12 +0000 From: Luis Chamberlain To: Vlastimil Babka Cc: 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 Subject: Re: [PATCH 2/3] kernel/sysctl: support handling command line aliases Message-ID: <20200331143512.GZ11244@42.do-not-panic.com> References: <20200330115535.3215-1-vbabka@suse.cz> <20200330115535.3215-3-vbabka@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200330115535.3215-3-vbabka@suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 30, 2020 at 01:55:34PM +0200, Vlastimil Babka wrote: > We can now handle sysctl parameters on kernel command line, but historically > some parameters introduced their own command line equivalent, which we don't > want to remove for compatibility reasons. We can however convert them to the > generic infrastructure with a table translating the legacy command line > parameters to their sysctl names, and removing the one-off param handlers. > > This patch adds the support and makes the first conversion to demonstrate it, > on the (deprecated) numa_zonelist_order parameter. > > Signed-off-by: Vlastimil Babka Reviewed-by: Luis Chamberlain Luis