[PATCH v1 15/29] mm/migration: remove PageMovable()

Harry Yoo harry.yoo at oracle.com
Wed Jul 2 19:20:54 AEST 2025


On Mon, Jun 30, 2025 at 02:59:56PM +0200, David Hildenbrand wrote:
> As __ClearPageMovable() is gone that would have only made
> PageMovable()==false but still __PageMovable()==true, now
> PageMovable() == __PageMovable().
> 
> So we can replace PageMovable() checks by __PageMovable(). In fact,
> __PageMovable() cannot change until a page is freed, so we can turn
> some PageMovable() into sanity checks for __PageMovable().
> 
> Reviewed-by: Zi Yan <ziy at nvidia.com>
> Signed-off-by: David Hildenbrand <david at redhat.com>
> ---

LGTM

Reviewed-by: Harry Yoo <harry.yoo at oracle.com>

(and Lorenzo's rephrasing looks good)

-- 
Cheers,
Harry / Hyeonggon


More information about the Linuxppc-dev mailing list