Skip to contentSkip to conversation

mm doc: Fix misleading code reference of overcommit_memory

PATCH In review Chun Chen 2 participants 2 messages Sep 25, 2015 Documentation

lore
Share & tools
lore

Chun Chen

author
#0 lore raw

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.

---
 Documentation/sysctl/vm.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/sysctl/vm.txt +1 -1
index a4482fc..f72370b 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Chun Chen

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.

Quoted 20 lines
---
 Documentation/sysctl/vm.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/sysctl/vm.txt +1 -1
index a4482fc..f72370b 100644
@@ -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