mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mm doc: Fix misleading code reference of overcommit_memory
@ 2015-09-25  4:19 Chun Chen
  2015-09-25  7:27 ` Michal Hocko
  0 siblings, 1 reply; 2+ messages in thread
From: Chun Chen @ 2015-09-25  4:19 UTC (permalink / raw)
  To: corbet, akpm, mhocko, cl, kirill.shutemov
  Cc: linux-doc, linux-kernel, 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.

Signed-off-by: Chun Chen <ramichen@tencent.com>
---
 Documentation/sysctl/vm.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
index a4482fc..f72370b 100644
--- a/Documentation/sysctl/vm.txt
+++ b/Documentation/sysctl/vm.txt
@@ -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.
 
 ==============================================================
 
-- 
2.1.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mm doc: Fix misleading code reference of overcommit_memory
  2015-09-25  4:19 [PATCH] mm doc: Fix misleading code reference of overcommit_memory Chun Chen
@ 2015-09-25  7:27 ` Michal Hocko
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Hocko @ 2015-09-25  7:27 UTC (permalink / raw)
  To: Chun Chen
  Cc: corbet, akpm, cl, kirill.shutemov, linux-doc, linux-kernel, Chun Chen

On Fri 25-09-15 12:19:38, Chun Chen wrote:
> 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>

> ---
>  Documentation/sysctl/vm.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt
> index a4482fc..f72370b 100644
> --- a/Documentation/sysctl/vm.txt
> +++ b/Documentation/sysctl/vm.txt
> @@ -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.
>  
>  ==============================================================
>  
> -- 
> 2.1.0
> 

-- 
Michal Hocko
SUSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-25  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-25  4:19 [PATCH] mm doc: Fix misleading code reference of overcommit_memory Chun Chen
2015-09-25  7:27 ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®