From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH v4, part3 08/15] mm: fix some trivial typos in comments Date: Sat, 06 Apr 2013 18:36:28 +0400 Message-ID: <516032EC.9080905@cogentembedded.com> References: <1365256509-29024-1-git-send-email-jiang.liu@huawei.com> <1365256509-29024-9-git-send-email-jiang.liu@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1365256509-29024-9-git-send-email-jiang.liu@huawei.com> Sender: linux-kernel-owner@vger.kernel.org To: Jiang Liu Cc: Andrew Morton , Jiang Liu , David Rientjes , Wen Congyang , Mel Gorman , Minchan Kim , KAMEZAWA Hiroyuki , Michal Hocko , James Bottomley , David Howells , Mark Salter , Jianguo Wu , linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Tang Chen , Yasuaki Ishimatsu , Marek Szyprowski List-Id: linux-arch.vger.kernel.org Hello. On 06-04-2013 17:55, Jiang Liu wrote: > Fix some trivial typos in comments. > Signed-off-by: Jiang Liu > Cc: Wen Congyang > Cc: Tang Chen > Cc: Jiang Liu > Cc: Yasuaki Ishimatsu > Cc: Mel Gorman > Cc: Minchan Kim > Cc: Marek Szyprowski > Cc: linux-mm@kvack.org > Cc: linux-kernel@vger.kernel.org [...] > diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c > index 57decb2..a5b8fde 100644 > --- a/mm/memory_hotplug.c > +++ b/mm/memory_hotplug.c > @@ -309,7 +309,7 @@ static int __meminit move_pfn_range_left(struct zone *z1, struct zone *z2, > /* can't move pfns which are higher than @z2 */ > if (end_pfn > zone_end_pfn(z2)) > goto out_fail; > - /* the move out part mast at the left most of @z2 */ > + /* the move out part must at the left most of @z2 */ Maybe "must be"? > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 6bd697c..c3c3eda 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -2863,7 +2863,7 @@ EXPORT_SYMBOL(free_pages_exact); > * nr_free_zone_pages() counts the number of counts pages which are beyond the > * high watermark within all zones at or below a given zone index. For each > * zone, the number of pages is calculated as: > - * present_pages - high_pages > + * managed_pages - high_pages I'm not sure it's that trivial. WBR, Sergei From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f177.google.com ([209.85.217.177]:42976 "EHLO mail-lb0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423032Ab3DFOha (ORCPT ); Sat, 6 Apr 2013 10:37:30 -0400 Received: by mail-lb0-f177.google.com with SMTP id r10so4492656lbi.8 for ; Sat, 06 Apr 2013 07:37:29 -0700 (PDT) Message-ID: <516032EC.9080905@cogentembedded.com> Date: Sat, 06 Apr 2013 18:36:28 +0400 From: Sergei Shtylyov MIME-Version: 1.0 Subject: Re: [PATCH v4, part3 08/15] mm: fix some trivial typos in comments References: <1365256509-29024-1-git-send-email-jiang.liu@huawei.com> <1365256509-29024-9-git-send-email-jiang.liu@huawei.com> In-Reply-To: <1365256509-29024-9-git-send-email-jiang.liu@huawei.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Jiang Liu Cc: Andrew Morton , Jiang Liu , David Rientjes , Wen Congyang , Mel Gorman , Minchan Kim , KAMEZAWA Hiroyuki , Michal Hocko , James Bottomley , David Howells , Mark Salter , Jianguo Wu , linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Tang Chen , Yasuaki Ishimatsu , Marek Szyprowski Message-ID: <20130406143628.cMxyZHW5EnlKOCdTbKMPjVBmKhV2pxPAfKlDkI09wT8@z> Hello. On 06-04-2013 17:55, Jiang Liu wrote: > Fix some trivial typos in comments. > Signed-off-by: Jiang Liu > Cc: Wen Congyang > Cc: Tang Chen > Cc: Jiang Liu > Cc: Yasuaki Ishimatsu > Cc: Mel Gorman > Cc: Minchan Kim > Cc: Marek Szyprowski > Cc: linux-mm@kvack.org > Cc: linux-kernel@vger.kernel.org [...] > diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c > index 57decb2..a5b8fde 100644 > --- a/mm/memory_hotplug.c > +++ b/mm/memory_hotplug.c > @@ -309,7 +309,7 @@ static int __meminit move_pfn_range_left(struct zone *z1, struct zone *z2, > /* can't move pfns which are higher than @z2 */ > if (end_pfn > zone_end_pfn(z2)) > goto out_fail; > - /* the move out part mast at the left most of @z2 */ > + /* the move out part must at the left most of @z2 */ Maybe "must be"? > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index 6bd697c..c3c3eda 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -2863,7 +2863,7 @@ EXPORT_SYMBOL(free_pages_exact); > * nr_free_zone_pages() counts the number of counts pages which are beyond the > * high watermark within all zones at or below a given zone index. For each > * zone, the number of pages is calculated as: > - * present_pages - high_pages > + * managed_pages - high_pages I'm not sure it's that trivial. WBR, Sergei