From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932727AbdCaDjn (ORCPT ); Thu, 30 Mar 2017 23:39:43 -0400 Received: from out0-231.mail.aliyun.com ([140.205.0.231]:45128 "EHLO out0-231.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753515AbdCaDjm (ORCPT ); Thu, 30 Mar 2017 23:39:42 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R261e4;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e02c03290;MF=hillf.zj@alibaba-inc.com;NM=1;PH=DS;RN=21;SR=0;TI=SMTPD_---.7t02IJX_1490931547; Reply-To: "Hillf Danton" From: "Hillf Danton" To: "'Michal Hocko'" , Cc: "'Andrew Morton'" , "'Mel Gorman'" , "'Vlastimil Babka'" , "'Andrea Arcangeli'" , "'Reza Arbab'" , "'Yasuaki Ishimatsu'" , "'Tang Chen'" , , "'Kani Toshimitsu'" , , "'Joonsoo Kim'" , "'Andi Kleen'" , "'Zhang Zhen'" , "'David Rientjes'" , "'Daniel Kiper'" , "'Igor Mammedov'" , "'Vitaly Kuznetsov'" , "'LKML'" , "'Michal Hocko'" References: <20170330115454.32154-1-mhocko@kernel.org> <20170330115454.32154-2-mhocko@kernel.org> In-Reply-To: <20170330115454.32154-2-mhocko@kernel.org> Subject: Re: [PATCH 1/6] mm: get rid of zone_is_initialized Date: Fri, 31 Mar 2017 11:39:07 +0800 Message-ID: <04a601d2a9d0$5ace0ab0$106a2010$@alibaba-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQFU6y+5EAZL2+8hDBYbLS7ZosefXwE4LJ9poqAICyA= Content-Language: zh-cn Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On March 30, 2017 7:55 PM Michal Hocko wrote: > > @@ -5535,9 +5535,6 @@ int __meminit init_currently_empty_zone(struct zone *zone, > zone_start_pfn, (zone_start_pfn + size)); > > zone_init_free_lists(zone); > - zone->initialized = 1; > - > - return 0; > } Nit: Add changes more than correct. Hillf From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f70.google.com (mail-pg0-f70.google.com [74.125.83.70]) by kanga.kvack.org (Postfix) with ESMTP id D81836B0038 for ; Thu, 30 Mar 2017 23:39:18 -0400 (EDT) Received: by mail-pg0-f70.google.com with SMTP id n129so66661289pga.0 for ; Thu, 30 Mar 2017 20:39:18 -0700 (PDT) Received: from out0-242.mail.aliyun.com (out0-242.mail.aliyun.com. [140.205.0.242]) by mx.google.com with ESMTP id 2si3730979ple.237.2017.03.30.20.39.17 for ; Thu, 30 Mar 2017 20:39:18 -0700 (PDT) Reply-To: "Hillf Danton" From: "Hillf Danton" References: <20170330115454.32154-1-mhocko@kernel.org> <20170330115454.32154-2-mhocko@kernel.org> In-Reply-To: <20170330115454.32154-2-mhocko@kernel.org> Subject: Re: [PATCH 1/6] mm: get rid of zone_is_initialized Date: Fri, 31 Mar 2017 11:39:07 +0800 Message-ID: <04a601d2a9d0$5ace0ab0$106a2010$@alibaba-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Language: zh-cn Sender: owner-linux-mm@kvack.org List-ID: To: 'Michal Hocko' , linux-mm@kvack.org Cc: 'Andrew Morton' , 'Mel Gorman' , 'Vlastimil Babka' , 'Andrea Arcangeli' , 'Reza Arbab' , 'Yasuaki Ishimatsu' , 'Tang Chen' , qiuxishi@huawei.com, 'Kani Toshimitsu' , slaoub@gmail.com, 'Joonsoo Kim' , 'Andi Kleen' , 'Zhang Zhen' , 'David Rientjes' , 'Daniel Kiper' , 'Igor Mammedov' , 'Vitaly Kuznetsov' , 'LKML' , 'Michal Hocko' On March 30, 2017 7:55 PM Michal Hocko wrote: > > @@ -5535,9 +5535,6 @@ int __meminit init_currently_empty_zone(struct zone *zone, > zone_start_pfn, (zone_start_pfn + size)); > > zone_init_free_lists(zone); > - zone->initialized = 1; > - > - return 0; > } Nit: Add changes more than correct. Hillf -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org