]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mm: add extra free kbytes tunable
authorRik van Riel <riel@redhat.com>
Wed, 28 Sep 2011 00:50:21 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Oct 2011 07:38:37 +0000 (18:38 +1100)
commitd8237f4acdf8b9ad7a667435bc973897054d8527
tree23fcf00f493fe54c7cb4cde3f2a4f9ae7b32c986
parent95f20af4b6a2a74abe4762fb18deb4ea2ee96fc7
mm: add extra free kbytes tunable

Add a userspace visible knob to tell the VM to keep an extra amount of
memory free, by increasing the gap between each zone's min and low
watermarks.

This is useful for realtime applications that call system calls and have a
bound on the number of allocations that happen in any short time period.
In this application, extra_free_kbytes would be left at an amount equal to
or larger than than the maximum number of allocations that happen in any
burst.

It may also be useful to reduce the memory use of virtual machines
(temporarily?), in a way that does not cause memory fragmentation like
ballooning does.

Signed-off-by: Rik van Riel<riel@redhat.com>
Signed-off-by: Andrew Morton <>
Documentation/sysctl/vm.txt
kernel/sysctl.c
mm/page_alloc.c