On 18 Jun 2025, at 13:39, 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(). > > Signed-off-by: David Hildenbrand <da...@redhat.com> > --- > include/linux/migrate.h | 2 -- > mm/compaction.c | 15 --------------- > mm/migrate.c | 18 ++++++++++-------- > 3 files changed, 10 insertions(+), 25 deletions(-) > Reviewed-by: Zi Yan <z...@nvidia.com>
-- Best Regards, Yan, Zi