From: Michal Hocko <mhocko@kernel.org>
To: Chun Chen <chenchun.feed@gmail.com>
Cc: corbet@lwn.net, akpm@linux-foundation.org, cl@linux.com,
kirill.shutemov@linux.intel.com, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org, Chun Chen <ramichen@tencent.com>
Subject: Re: [PATCH] mm doc: Fix misleading code reference of overcommit_memory
Date: Fri, 25 Sep 2015 09:27:05 +0200 [thread overview]
Message-ID: <20150925072704.GA16497@dhcp22.suse.cz> (raw)
In-Reply-To: <1443154778-2199-1-git-send-email-ramichen@tencent.com>
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
prev parent reply other threads:[~2015-09-25 7:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-25 4:19 Chun Chen
2015-09-25 7:27 ` Michal Hocko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150925072704.GA16497@dhcp22.suse.cz \
--to=mhocko@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=chenchun.feed@gmail.com \
--cc=cl@linux.com \
--cc=corbet@lwn.net \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ramichen@tencent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®