Thread (138 messages) 138 messages, 5 authors, 2025-07-03

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

From: Harry Yoo <hidden>
Date: 2025-07-02 09:22:47
Also in: linux-doc, linux-fsdevel, linux-mm, lkml, virtualization

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@nvidia.com>
Signed-off-by: David Hildenbrand <redacted>
---
LGTM

Reviewed-by: Harry Yoo <redacted>

(and Lorenzo's rephrasing looks good)

-- 
Cheers,
Harry / Hyeonggon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help