From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756391AbdJJOx5 (ORCPT ); Tue, 10 Oct 2017 10:53:57 -0400 Received: from mga09.intel.com ([134.134.136.24]:31308 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756206AbdJJOxw (ORCPT ); Tue, 10 Oct 2017 10:53:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,505,1500966000"; d="scan'208";a="144861274" Subject: Re: [PATCH v3] mm, sysctl: make NUMA stats configurable To: Michal Hocko References: <1506579101-5457-1-git-send-email-kemi.wang@intel.com> <20171003092352.2wh2jbtt2dudfi5a@dhcp22.suse.cz> <221a1e93-ee33-d598-67de-d6071f192040@intel.com> <20171009075549.pzohdnerillwuhqo@dhcp22.suse.cz> <20171010054902.sqp6yyid6qqhpsrt@dhcp22.suse.cz> <20171010143113.gk6iqcrguefhhlmr@dhcp22.suse.cz> Cc: kemi , "Luis R . Rodriguez" , Kees Cook , Andrew Morton , Jonathan Corbet , Mel Gorman , Johannes Weiner , Christopher Lameter , Sebastian Andrzej Siewior , Vlastimil Babka , Tim Chen , Andi Kleen , Jesper Dangaard Brouer , Ying Huang , Aaron Lu , Proc sysctl , Linux MM , Linux Kernel From: Dave Hansen Message-ID: Date: Tue, 10 Oct 2017 07:53:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171010143113.gk6iqcrguefhhlmr@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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/10/2017 07:31 AM, Michal Hocko wrote: > On Tue 10-10-17 07:29:31, Dave Hansen wrote: >> On 10/09/2017 10:49 PM, Michal Hocko wrote: >>> Anyway I still stand by my position that this sounds over-engineered and >>> a simple 0/1 resp. on/off interface would be both simpler and safer. If >>> anybody wants an auto mode it can be added later (as a value 2 resp. >>> auto). >> >> 0/1 with the default set to the strict, slower mode? > > yes, keep the current semantic and allow users who care to disable > something that stands in the way. But, let's be honest, this leaves us with an option that nobody is ever going to turn on. IOW, nobody except a very small portion of our users will ever see any benefit from this. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH v3] mm, sysctl: make NUMA stats configurable To: Michal Hocko References: <1506579101-5457-1-git-send-email-kemi.wang@intel.com> <20171003092352.2wh2jbtt2dudfi5a@dhcp22.suse.cz> <221a1e93-ee33-d598-67de-d6071f192040@intel.com> <20171009075549.pzohdnerillwuhqo@dhcp22.suse.cz> <20171010054902.sqp6yyid6qqhpsrt@dhcp22.suse.cz> <20171010143113.gk6iqcrguefhhlmr@dhcp22.suse.cz> Cc: kemi , "Luis R . Rodriguez" , Kees Cook , Andrew Morton , Jonathan Corbet , Mel Gorman , Johannes Weiner , Christopher Lameter , Sebastian Andrzej Siewior , Vlastimil Babka , Tim Chen , Andi Kleen , Jesper Dangaard Brouer , Ying Huang , Aaron Lu , Proc sysctl , Linux MM , Linux Kernel From: Dave Hansen Message-ID: Date: Tue, 10 Oct 2017 07:53:50 -0700 MIME-Version: 1.0 In-Reply-To: <20171010143113.gk6iqcrguefhhlmr@dhcp22.suse.cz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: On 10/10/2017 07:31 AM, Michal Hocko wrote: > On Tue 10-10-17 07:29:31, Dave Hansen wrote: >> On 10/09/2017 10:49 PM, Michal Hocko wrote: >>> Anyway I still stand by my position that this sounds over-engineered and >>> a simple 0/1 resp. on/off interface would be both simpler and safer. If >>> anybody wants an auto mode it can be added later (as a value 2 resp. >>> auto). >> >> 0/1 with the default set to the strict, slower mode? > > yes, keep the current semantic and allow users who care to disable > something that stands in the way. But, let's be honest, this leaves us with an option that nobody is ever going to turn on. IOW, nobody except a very small portion of our users will ever see any benefit from this. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org