mm doc: Fix misleading code reference of overcommit_memory
PATCH 1/1 mm doc: 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 <[email protected]>
--- Documentation/sysctl/vm.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/sysctl/vm.txt +1 -1
@@ -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. ==============================================================
Signature · 1 line
2.1.0
Quoted 5 lines · Chun Chen
The origin document references to
cap_vm_enough_memoryis becausecap_vm_enough_memoryinvoked__vm_enough_memorybefore and it no longer does now.Signed-off-by Chun Chen <[email protected]>
Acked-by Michal Hocko <[email protected]>
Quoted 20 lines
--- Documentation/sysctl/vm.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/sysctl/vm.txt +1
-1@@ -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. ==============================================================Signature · 1 line
2.1.0
Signature · 2 lines
Michal Hocko SUSE Labs