]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: add overcommit_kbytes sysctl variable
authorJerome Marchand <jmarchan@redhat.com>
Mon, 16 Dec 2013 23:45:06 +0000 (10:45 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 16 Dec 2013 23:45:06 +0000 (10:45 +1100)
commit31bdaf7c8e8a784fd8f889371bdacb24670734c7
tree7eae5711d908f84b817880b32869ce9d6694974c
parent4f145528f1c3c04de7116a366c18685d1ec3f8cf
mm: add overcommit_kbytes sysctl variable

Some applications that run on HPC clusters are designed around the
availability of RAM and the overcommit ratio is fine tuned to get the
maximum usage of memory without swapping.  With growing memory, the
1%-of-all-RAM grain provided by overcommit_ratio has become too coarse for
these workload (on a 2TB machine it represents no less than 20GB).

This patch adds the new overcommit_kbytes sysctl variable that allow a
much finer grain.

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/sysctl/vm.txt
Documentation/vm/overcommit-accounting
include/linux/mm.h
include/linux/mman.h
kernel/sysctl.c
mm/mmap.c
mm/nommu.c
mm/util.c