summaryrefslogtreecommitdiff
path: root/Documentation/sysctl
diff options
context:
space:
mode:
authorChun Chen <chenchun.feed@gmail.com>2015-11-10 01:58:15 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-10 02:11:24 +0300
commitc56050c700d18f18fbec934f56069150bcec3709 (patch)
tree0c8d40d2c22d6386aae441678179a3142dbc5a23 /Documentation/sysctl
parent79211c8ed19c055ca105502c8733800d442a0ae6 (diff)
downloadlinux-c56050c700d18f18fbec934f56069150bcec3709.tar.xz
Documentation/sysctl/vm.txt: fix misleading code reference of overcommit_memory
The origin document references to cap_vm_enough_memory is because cap_vm_enough_memory invoked __vm_enough_memory before and it no longer does now. Signed-off-by: Chun Chen <ramichen@tencent.com> Acked-by: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sysctl')
-rw-r--r--Documentation/sysctl/vm.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
index a4482fceacec..f72370b440b1 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -639,7 +639,7 @@ and don't use much of it.
The default value is 0.
See Documentation/vm/overcommit-accounting and
-security/commoncap.c::cap_vm_enough_memory() for more information.
+mm/mmap.c::__vm_enough_memory() for more information.
==============================================================