On Wed, Jun 14, 2017 at 08:32:06AM +0200, Michal Hocko wrote: >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. If this is true, the check_hotplug_memory_range() should be fixed too. This function just makes sure the range is section aligned, instead of memory_block aligned. >-- >Michal Hocko >SUSE Labs -- Wei Yang Help you, Help me