Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756037AbdDFRqr (ORCPT ); Thu, 6 Apr 2017 13:46:47 -0400 Received: from mx2.suse.de ([195.135.220.15]:44184 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753433AbdDFRql (ORCPT ); Thu, 6 Apr 2017 13:46:41 -0400 Date: Thu, 6 Apr 2017 18:46:34 +0100 From: Mel Gorman To: Michal Hocko Cc: Reza Arbab , linux-mm@kvack.org, Andrew Morton , Vlastimil Babka , Andrea Arcangeli , 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 , Chris Metcalf , Dan Williams , Heiko Carstens , Lai Jiangshan , Martin Schwidefsky Subject: Re: [PATCH 0/6] mm: make movable onlining suck less Message-ID: <20170406174634.22owejtnema6bixm@suse.de> References: <20170330115454.32154-1-mhocko@kernel.org> <20170406130846.GL5497@dhcp22.suse.cz> <20170406152449.zmghwdb4y6hxn4pm@arbab-laptop> <20170406154127.GQ5497@dhcp22.suse.cz> <20170406154653.yv4i2k2r7hjq6mke@arbab-laptop> <20170406162154.GR5497@dhcp22.suse.cz> <20170406165520.qjdqclsm6zl6m6p3@suse.de> <20170406171242.GS5497@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20170406171242.GS5497@dhcp22.suse.cz> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1361 Lines: 36 On Thu, Apr 06, 2017 at 07:12:42PM +0200, Michal Hocko wrote: > > ---8<--- > > mm, vmscan: prevent kswapd sleeping prematurely due to mismatched classzone_idx -fix > > > > The patch "mm, vmscan: prevent kswapd sleeping prematurely due to mismatched > > classzone_idx" has different initial starting conditions when kswapd > > is asleep. kswapd initialises it properly when it starts but the patch > > initialises kswapd_classzone_idx early and trips on a warning in > > free_area_init_node. This patch leaves the kswapd_classzone_idx as zero > > and defers to kswapd to initialise it properly when it starts. > > It will start during the online phase which is later than this physical > memory hotadd. > Good, that's what appeared to be happening at least. It would be somewhat insane if kswapd was running before zones were initialised. > > This is a fix to the mmotm patch > > mm-vmscan-prevent-kswapd-sleeping-prematurely-due-to-mismatched-classzone_idx.patch > > > > Signed-off-by: Mel Gorman > > Yes, that is what I would expect. Feel free to add > Acked-by: Michal Hocko > > if this is routed as a separate patch. Although I expect Andrew will > fold it into the original patch. > I added the ack anyway and resent the patch so it doesn't get lost in the middle of a thread. Thanks. -- Mel Gorman SUSE Labs