Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fwd: [PATCH] mm: add config option to select the initial overcommit mode
Hi, Using checkpatch.pl on the forwarded patch results in: WARNING: please write a paragraph that describes the config symbol fully torvalds#57: FILE: mm/Kconfig:451: + config OVERCOMMIT_GUESS WARNING: please write a paragraph that describes the config symbol fully torvalds#64: FILE: mm/Kconfig:458: + config OVERCOMMIT_ALWAYS but there is a 'help' section for those 'config' sections. NOTE: I followed the same indentation than the code laying just above the place where I inserted mine. I think it is a false positive, what do you think? Best regards, Sebastian Message-ID: <5731CC6E.3080807@laposte.net> Date: Tue, 10 May 2016 13:56:30 +0200 From: Sebastian Frias <sf84@laposte.net> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 To: <linux-mm@kvack.org>, Andrew Morton <akpm@linux-foundation.org>, "Michal Hocko" <mhocko@suse.com>, Linus Torvalds <torvalds@linux-foundation.org> CC: LKML <linux-kernel@vger.kernel.org>, mason <slash.tmp@free.fr> Subject: [PATCH] mm: add config option to select the initial overcommit mode Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 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. This config option allows to setup the initial overcommit mode to any of the 3 available values, OVERCOMMIT_GUESS (which remains as default), OVERCOMMIT_ALWAYS and OVERCOMMIT_NEVER. The overcommit mode can still be changed thru sysctl after the system boots up. This config option depends on CONFIG_EXPERT. This patch does not introduces functional changes. Signed-off-by: Sebastian Frias <sf84@laposte.net>
- Loading branch information