Skip to content

Commit

Permalink
Documentation/sysctl/vm.txt: fix misleading code reference of overcom…
Browse files Browse the repository at this point in the history
…mit_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>
  • Loading branch information
chenchun authored and torvalds committed Nov 9, 2015
1 parent 79211c8 commit c56050c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/sysctl/vm.txt
Expand Up @@ -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.

==============================================================

Expand Down

0 comments on commit c56050c

Please sign in to comment.