Re: [RFC PATCH] mm: unclutter THP migration

2017-12-07 Thread Michal Hocko
On Thu 07-12-17 22:10:47, Zi Yan wrote: > Hi Michal, > > Thanks for sending this out. > > Michal Hocko wrote: > > From: Michal Hocko > > > > THP migration is hacked into the generic migration with rather > > surprising semantic. The migration allocation callback is supposed to > > check whether

Re: [RFC PATCH] mm: unclutter THP migration

2017-12-07 Thread Zi Yan
Hi Michal, Thanks for sending this out. Michal Hocko wrote: > From: Michal Hocko > > THP migration is hacked into the generic migration with rather > surprising semantic. The migration allocation callback is supposed to > check whether the THP can be migrated at once and if that is not the > ca

[RFC PATCH] mm: unclutter THP migration

2017-12-07 Thread Michal Hocko
From: Michal Hocko THP migration is hacked into the generic migration with rather surprising semantic. The migration allocation callback is supposed to check whether the THP can be migrated at once and if that is not the case then it allocates a simple page to migrate. unmap_and_move then fixes t