From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f200.google.com (mail-ua0-f200.google.com [209.85.217.200]) by kanga.kvack.org (Postfix) with ESMTP id 0000A6B0253 for ; Thu, 4 Aug 2016 07:45:08 -0400 (EDT) Received: by mail-ua0-f200.google.com with SMTP id r91so329457965uar.2 for ; Thu, 04 Aug 2016 04:45:08 -0700 (PDT) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com. [119.145.14.65]) by mx.google.com with ESMTPS id f125si5336688qkc.248.2016.08.04.04.45.05 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 04 Aug 2016 04:45:08 -0700 (PDT) Message-ID: <57A328BB.2040700@huawei.com> Date: Thu, 4 Aug 2016 19:36:27 +0800 From: Xishi Qiu MIME-Version: 1.0 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 Sender: owner-linux-mm@kvack.org List-ID: 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 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 -- 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