Re: [PATCH] mm/debug: sync up latest migrate_reason to migrate_reason_names

From: Andrew Morton
Date: Sun Sep 19 2021 - 19:35:20 EST


On Fri, 17 Sep 2021 14:14:32 +0800 Weizhao Ouyang <o451686892@xxxxxxxxx> wrote:

> After related migrate page updates, sync up latest migrate_reason to
> migrate_reason_names, page_owner use it to parse the page migrate
> reason.

A slight problem.

> Fixes: d1e153fea2a8 ("mm/gup: migrate pinned pages out of movable zone")
> Fixes: 26aa2d199d6f ("mm/migrate: demote pages during reclaim")

d1e153fea2a8 is from May 2021, so a -stable backport would be appropriate.

But 26aa2d199d6f is only in 5.15-rc1, so no cc:stable.

So can you please prepare this as a two-patch series with the first
patch (which fixes d1e153fea2a8) marked cc:stable?

Thanks.