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

From: Joonsoo Kim
Date: Fri Jun 26 2020 - 01:03:55 EST


2020ë 6ì 25ì (ë) ìí 9:08, Michal Hocko <mhocko@xxxxxxxxxx>ëì ìì:
>
> 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.

I replied to this question in a previous email.

Thanks.