From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754132AbcEQJDv (ORCPT ); Tue, 17 May 2016 05:03:51 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]:37950 "EHLO smtp2-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751118AbcEQJDt (ORCPT ); Tue, 17 May 2016 05:03:49 -0400 Subject: Re: [PATCH] mm: add config option to select the initial overcommit mode To: Sebastian Frias Cc: linux-mm@kvack.org, LKML References: <5731CC6E.3080807@laposte.net> From: Mason Message-ID: <573ADE6C.4040804@free.fr> Date: Tue, 17 May 2016 11:03:40 +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: <5731CC6E.3080807@laposte.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/05/2016 13:56, Sebastian Frias wrote: > Currently the initial value of the overcommit mode is OVERCOMMIT_GUESS. > However, on embedded systems it is usually better to disable overcommit > to avoid waking up the OOM-killer and its well known undesirable > side-effects. There is an interesting article on LWN: Toward more predictable and reliable out-of-memory handling https://lwn.net/Articles/668126/ Regards.