Re: [PATCH] mm/memory_hotplug: adjust zone/node size during __offline_pages()

2017-06-28 Thread Michal Hocko
On Wed 28-06-17 11:45:31, Wei Yang wrote: > After onlining a memory_block and then offline it, the valid_zones will not > come back to the original state. > > For example: > > $cat memory4?/valid_zones > Movable Normal > Movable Normal > Movable Normal > > $echo online > memo

[PATCH] mm/memory_hotplug: adjust zone/node size during __offline_pages()

2017-06-27 Thread Wei Yang
After onlining a memory_block and then offline it, the valid_zones will not come back to the original state. For example: $cat memory4?/valid_zones Movable Normal Movable Normal Movable Normal $echo online > memory40/state $cat memory4?/valid_zones Movable Movable