Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1232556 > unrolled thread

[PATCH] mm doc: Fix misleading code reference of overcommit_memory

Started byChun Chen <chenchun.feed@gmail.com>
First post2015-09-25 06:30 +0200
Last post2015-09-25 09:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] mm doc: Fix misleading code reference of overcommit_memory Chun Chen <chenchun.feed@gmail.com> - 2015-09-25 06:30 +0200
    Re: [PATCH] mm doc: Fix misleading code reference of  overcommit_memory Michal Hocko <mhocko@kernel.org> - 2015-09-25 09:30 +0200

#1232556 — [PATCH] mm doc: Fix misleading code reference of overcommit_memory

FromChun Chen <chenchun.feed@gmail.com>
Date2015-09-25 06:30 +0200
Subject[PATCH] mm doc: Fix misleading code reference of overcommit_memory
Message-ID<qcsNX-7Bc-7@gated-at.bofh.it>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1232624 — Re: [PATCH] mm doc: Fix misleading code reference of overcommit_memory

FromMichal Hocko <mhocko@kernel.org>
Date2015-09-25 09:30 +0200
SubjectRe: [PATCH] mm doc: Fix misleading code reference of overcommit_memory
Message-ID<qcvCa-32z-3@gated-at.bofh.it>
In reply to#1232556
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web