Documentation/sysctl/vm.txt: fix misleading code reference of overcommit_memory
authorChun Chen <[email protected]>
Mon, 9 Nov 2015 22:58:15 +0000 (14:58 -0800)
committerLinus Torvalds <[email protected]>
Mon, 9 Nov 2015 23:11:24 +0000 (15:11 -0800)
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 <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/sysctl/vm.txt

index a4482fceacecc9443f6cdc12b5083acdeabbcca1..f72370b440b121e718183ea6a7dbb9bafc2dcc25 100644 (file)
@@ -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.
 
 ==============================================================