Re: [PATCH v3 6/8] mm/gup: use a standard migration target allocation callback

From: Michal Hocko
Date: Thu Jun 25 2020 - 08:08:35 EST


On Tue 23-06-20 15:13:46, Joonsoo Kim wrote:
> From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
>
> There is a well-defined migration target allocation callback.
> It's mostly similar with new_non_cma_page() except considering CMA pages.
>
> This patch adds a CMA consideration to the standard migration target
> allocation callback and use it on gup.c.

We already can express that by a missing __GFP_MOVABLE so I would rather
not introduce a duplication in form of another flag.
--
Michal Hocko
SUSE Labs