Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chun Chen and committed by
Linus Torvalds
c56050c7 79211c8e

+1 -1
+1 -1
Documentation/sysctl/vm.txt
··· 639 639 The default value is 0. 640 640 641 641 See Documentation/vm/overcommit-accounting and 642 - security/commoncap.c::cap_vm_enough_memory() for more information. 642 + mm/mmap.c::__vm_enough_memory() for more information. 643 643 644 644 ============================================================== 645 645