From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753075AbcEMMPy (ORCPT ); Fri, 13 May 2016 08:15:54 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]:22027 "EHLO smtp2-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058AbcEMMPx (ORCPT ); Fri, 13 May 2016 08:15:53 -0400 Subject: Re: [PATCH] mm: add config option to select the initial overcommit mode To: Michal Hocko Cc: Sebastian Frias , linux-mm@kvack.org, Andrew Morton , Linus Torvalds , LKML References: <5731CC6E.3080807@laposte.net> <20160513080458.GF20141@dhcp22.suse.cz> <573593EE.6010502@free.fr> <20160513095230.GI20141@dhcp22.suse.cz> <5735AA0E.5060605@free.fr> <20160513114429.GJ20141@dhcp22.suse.cz> From: Mason Message-ID: <5735C567.6030202@free.fr> Date: Fri, 13 May 2016 14:15:35 +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: <20160513114429.GJ20141@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 13:44, Michal Hocko wrote: > Anyway, this is my laptop where I do not run anything really special > (xfce, browser, few consoles, git, mutt): > $ grep Commit /proc/meminfo > CommitLimit: 3497288 kB > Committed_AS: 3560804 kB > > I am running with the default overcommit setup so I do not care about > the limit but the Committed_AS will tell you how much is actually > committed. I am definitelly not out of memory: > $ free > total used free shared buff/cache available > Mem: 3922584 1724120 217336 105264 1981128 2036164 > Swap: 1535996 386364 1149632 I see. Thanks for the data point. I had a different type of system in mind. 256 to 512 MB of RAM, no swap. Perhaps Sebastian's choice could be made to depend on CONFIG_EMBEDDED, rather than CONFIG_EXPERT? Regards.