Re: [PATCH 3/4] mm: unify new_node_page and alloc_migrate_target

2017-06-08 Thread Michal Hocko
On Thu 08-06-17 10:36:13, Vlastimil Babka wrote: > On 06/08/2017 09:45 AM, Michal Hocko wrote: > > From: Michal Hocko > > > > 394e31d2ceb4 ("mem-hotplug: alloc new page from a nearest neighbor node > > when mem-offline") has duplicated a large part of alloc_migrate_target > > with some hotplug sp

Re: [PATCH 3/4] mm: unify new_node_page and alloc_migrate_target

2017-06-08 Thread Vlastimil Babka
On 06/08/2017 09:45 AM, Michal Hocko wrote: > From: Michal Hocko > > 394e31d2ceb4 ("mem-hotplug: alloc new page from a nearest neighbor node > when mem-offline") has duplicated a large part of alloc_migrate_target > with some hotplug specific special casing. To be more precise it tried > to enfor

[PATCH 3/4] mm: unify new_node_page and alloc_migrate_target

2017-06-08 Thread Michal Hocko
From: Michal Hocko 394e31d2ceb4 ("mem-hotplug: alloc new page from a nearest neighbor node when mem-offline") has duplicated a large part of alloc_migrate_target with some hotplug specific special casing. To be more precise it tried to enfore the allocation from a different node than the original