From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932283AbcEMO70 (ORCPT ); Fri, 13 May 2016 10:59:26 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]:1976 "EHLO smtp2-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932130AbcEMO7Y (ORCPT ); Fri, 13 May 2016 10:59:24 -0400 Subject: Re: [PATCH] mm: add config option to select the initial overcommit mode To: Michal Hocko , Sebastian Frias Cc: linux-mm@kvack.org, Andrew Morton , Linus Torvalds , LKML References: <5731CC6E.3080807@laposte.net> <20160513080458.GF20141@dhcp22.suse.cz> <573593EE.6010502@free.fr> <5735A3DE.9030100@laposte.net> <20160513120042.GK20141@dhcp22.suse.cz> <5735CAE5.5010104@laposte.net> <20160513145101.GS20141@dhcp22.suse.cz> From: Mason Message-ID: <5735EBBC.6050705@free.fr> Date: Fri, 13 May 2016 16:59:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <20160513145101.GS20141@dhcp22.suse.cz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/05/2016 16:51, Michal Hocko wrote: > The default should cover the most use cases. If you can prove that the > vast majority of embedded systems are different and would _benefit_ from > a different default I wouldn't be opposed to change the default there. It seems important to point out that Sebastian's patch does NOT change the default behavior. It merely creates a knob allowing one to override the default via Kconfig. +choice + prompt "Overcommit Mode" + default OVERCOMMIT_GUESS + depends on EXPERT Regards.