Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754389AbdFNGcV (ORCPT ); Wed, 14 Jun 2017 02:32:21 -0400 Received: from mx2.suse.de ([195.135.220.15]:39085 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751821AbdFNGcM (ORCPT ); Wed, 14 Jun 2017 02:32:12 -0400 Date: Wed, 14 Jun 2017 08:32:06 +0200 From: Michal Hocko To: Wei Yang Cc: Andrew Morton , Linux-MM , Mel Gorman , Vlastimil Babka , Andrea Arcangeli , Jerome Glisse , Reza Arbab , Yasuaki Ishimatsu , qiuxishi@huawei.com, Kani Toshimitsu , slaoub@gmail.com, Joonsoo Kim , Andi Kleen , David Rientjes , Daniel Kiper , Igor Mammedov , Vitaly Kuznetsov , LKML , Dan Williams Subject: Re: [PATCH 04/14] mm, memory_hotplug: get rid of is_zone_device_section Message-ID: <20170614063206.GF6045@dhcp22.suse.cz> References: <20170515085827.16474-1-mhocko@kernel.org> <20170515085827.16474-5-mhocko@kernel.org> <20170614061259.GB14009@WeideMBP.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170614061259.GB14009@WeideMBP.lan> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 314 Lines: 16 On Wed 14-06-17 14:12:59, Wei Yang wrote: [...] > Hi, Michal > > Not sure you missed this one or you think this is fine. > > Hmm... this will not happen since we must offline a whole memory_block? yes > So the memory_hotplug/unplug unit is memory_block instead of mem_section? yes. -- Michal Hocko SUSE Labs