[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150925072704.GA16497@dhcp22.suse.cz>
Date: Fri, 25 Sep 2015 09:27:05 +0200
From: Michal Hocko <mhocko@...nel.org>
To: Chun Chen <chenchun.feed@...il.com>
Cc: corbet@....net, akpm@...ux-foundation.org, cl@...ux.com,
kirill.shutemov@...ux.intel.com, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, Chun Chen <ramichen@...cent.com>
Subject: Re: [PATCH] mm doc: Fix misleading code reference of
overcommit_memory
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@...cent.com>
Acked-by: Michal Hocko <mhocko@...e.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists