Re: [PATCH 1/6] mm: migrate: do not migrate HugeTLB page whose refcount is one

Michal Hocko
2021-01-06T16:12:40Z

On Wed 06-01-21 17:11:39, Michal Hocko wrote:
> On Mon 04-01-21 14:58:38, Muchun Song wrote:
> > If the refcount is one when it is migrated, it means that the page
> > was freed from under us. So we are done and do not need to migrate.
>
> Is this common enough that it would warrant the explicit check for each
> migration?

Ups, just noticed that you have posted a newer version. I will follow up
there.

--
Michal Hocko
SUSE Labs