From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754652AbbIYH11 (ORCPT ); Fri, 25 Sep 2015 03:27:27 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:36346 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750856AbbIYH1X (ORCPT ); Fri, 25 Sep 2015 03:27:23 -0400 Date: Fri, 25 Sep 2015 09:27:05 +0200 From: Michal Hocko To: Chun Chen 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 Subject: Re: [PATCH] mm doc: Fix misleading code reference of overcommit_memory Message-ID: <20150925072704.GA16497@dhcp22.suse.cz> References: <1443154778-2199-1-git-send-email-ramichen@tencent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1443154778-2199-1-git-send-email-ramichen@tencent.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Michal Hocko > --- > 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