From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932976AbcHDLrP (ORCPT ); Thu, 4 Aug 2016 07:47:15 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:23261 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752048AbcHDLrO (ORCPT ); Thu, 4 Aug 2016 07:47:14 -0400 Message-ID: <57A328BB.2040700@huawei.com> Date: Thu, 4 Aug 2016 19:36:27 +0800 From: Xishi Qiu User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Vlastimil Babka , Mel Gorman , Andrew Morton , Michal Hocko , David Rientjes , "Joonsoo Kim" , Taku Izumi , "'Kirill A . Shutemov'" , Kamezawa Hiroyuki CC: Linux MM , LKML Subject: Re: [PATCH 1/3] mm: fix set pageblock migratetype in deferred struct page init References: <57A325CA.9050707@huawei.com> <57A3260F.4050709@huawei.com> In-Reply-To: <57A3260F.4050709@huawei.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.25.179] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.57A328C6.0040,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 05ba13745ea8c241191a774062189101 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016/8/4 19:25, Xishi Qiu wrote: > MAX_ORDER_NR_PAGES is usually 4M, and a pageblock is usually 2M, so we only > set one pageblock's migratetype in deferred_free_range() if pfn is aligned > to MAX_ORDER_NR_PAGES. > > Also we missed to free the last block in deferred_init_memmap(). > > Signed-off-by: Xishi Qiu Sorry for the typo, this patch is 3/3, and 1/3 is this one "[PATCH 1/3] mem-hotplug: introduce movablenode option" However they are all independent. Thanks, Xishi Qiu