Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3237028ybb; Tue, 31 Mar 2020 00:50:36 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtxrtXNUVZN5vvClxQR0Kl/qsTxguU62/gU8x43XofVPTXnqdgQGl+PgA78bZ3HE6Rp1798 X-Received: by 2002:a9d:77d1:: with SMTP id w17mr2305628otl.44.1585641035934; Tue, 31 Mar 2020 00:50:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585641035; cv=none; d=google.com; s=arc-20160816; b=u/Y36alXx+oTiutYn3JI8u9ol+kGuhZE5G28oFojFfG3h/f3UeJDPID3hwOVDjBkOj crHgs7uKlN1M1NsEjzsQX2N1uotsv55H2DfQX8FNWyzFssjR6PFjPOoarWYhqXY7sWF/ O6EedJXAjQrOS1r1naZVxfzQIoHc+GX5Wez533K8Bntd/86L3RhSKMy2SKcom0F/x+rR fkRvTBCRwpglAhsehhIvRdMnb/PJ0ttzx5lvpejSXqFByGJPmnINlyLxeaSK5cBcHlyd pTan9250TAVNqivkuxqv1AARhyc3dQt9r4f0Zk8bQqz3ePuorAYQOYH2s0ne5ohcgji4 M9hQ== 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=sDDR7wkznk3Ln/XEBAe1hdquHTqCjRL2OUXoeHhs1/I=; b=Q9nkmGsJtq1fFC3xiXcwvsWfts3OMruClSTP/rEdP+aWkm5L8xgxi7Rb4+jWCoORbs sbU4tuCHsfPvECOqHIGKQg07MhHHA32k3N5w8eYYcCszKWfr7BBs6rfMb3038dN+uHmp 7GAsxwcrmAZC72iTJgNGEVDYRRjMx0XEqBNmVBMPOJMJC88QtavhCF/ciPvWoypUrDXE oZwgj9NWAeD47wArgn8dkNUAJdzOioMMNQ3TKknp6vObKp9fOcQPpCF1ruKqnJ4DpXHj CCUhShOCbY2gvVfNFC3RbDwev3bL2B1TLzuExiCM7bZvdYpqn2JTesTiOWtNxgC27Ksy lbmQ== 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 r5si7173356otp.241.2020.03.31.00.50.24; Tue, 31 Mar 2020 00:50:35 -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 S1730126AbgCaHsl (ORCPT + 99 others); Tue, 31 Mar 2020 03:48:41 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34705 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730065AbgCaHsk (ORCPT ); Tue, 31 Mar 2020 03:48:40 -0400 Received: by mail-wr1-f68.google.com with SMTP id 65so24651101wrl.1; Tue, 31 Mar 2020 00:48:40 -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=sDDR7wkznk3Ln/XEBAe1hdquHTqCjRL2OUXoeHhs1/I=; b=Z77vJpOfp8yhqPr3LNrlEZ9xKS88nkKs0ooW6hoj05vg2n5TBZrhoIJc6MR9Qz6oFH P/rHVEPKV283YxVZUuFHuP5A3RI7AE7BuZMoHuGEsuDxxsMlb+1YTRZku1x2n66hNtK8 GbSaii1CDz4NLElt2y20/ymcp4tCuT9lTh9FXPqoerF9aBEk2D4Qvt84FdtaFxJ1smc+ GQdzeKQcE1pAwFiPu/qfRRQpyjBmG12jgmIV7g1FeZbuaKecBuybnlfli8rXpJE4uUoI GZCwhrxyfNMgSh8kHQLJlRkLShUHKuNZQnh6/aQmgnq/ER3uT88UQqNPL9hMwjfL4qwG 3ycw== X-Gm-Message-State: ANhLgQ3E/2s5bN11iMI0GGDJ83oCOg+8mJxX5pBOTgPPFXPxTujyi45K Jb5NEvrOA7r846EVzJzkJAA= X-Received: by 2002:adf:e90b:: with SMTP id f11mr6877457wrm.65.1585640919502; Tue, 31 Mar 2020 00:48:39 -0700 (PDT) Received: from localhost (ip-37-188-180-223.eurotel.cz. [37.188.180.223]) by smtp.gmail.com with ESMTPSA id t81sm2728726wmb.15.2020.03.31.00.48.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 00:48:37 -0700 (PDT) Date: Tue, 31 Mar 2020 09:48:36 +0200 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" , Alexey Dobriyan , Thomas Gleixner , Greg Kroah-Hartman , Christian Brauner Subject: Re: [PATCH 1/3] kernel/sysctl: support setting sysctl parameters from kernel command line Message-ID: <20200331074836.GB30449@dhcp22.suse.cz> References: <20200330115535.3215-1-vbabka@suse.cz> <20200330115535.3215-2-vbabka@suse.cz> <20200330224422.GX11244@42.do-not-panic.com> <8146e3d0-89c3-7f79-f786-084c58282c85@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8146e3d0-89c3-7f79-f786-084c58282c85@suse.cz> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 31-03-20 09:42:46, Vlastimil Babka wrote: [...] > > Should we not do this, we'll have to live with the consequences of > > supporting the full swoop of sysctls are boot params, whatever > > consequences those may be. > > Of course when the first user tries to set some particular sysctl as boot param > and finds and reports it doesn't work as intended, then it can be fixed or > blacklisted and it can't break anyone else? Absolutely agreed. I would be really careful to not overengineer this whole thing. -- Michal Hocko SUSE Labs