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

From: Michal Hocko
Date: Wed Jan 06 2021 - 11:14:16 EST


On Wed 06-01-21 16:47:34, 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?
--
Michal Hocko
SUSE Labs