Re: [PATCH v4 0/4] Make MIGRATE_ISOLATE a standalone bit

From: David Hildenbrand
Date: Mon May 19 2025 - 03:44:35 EST


On 09.05.25 22:01, Zi Yan wrote:
Hi David and Oscar,

Hi,


Can you take a look at Patch 2, which changes how online_pages() set
online pageblock migratetypes?

Sorry, now looking :)

It used to first set all pageblocks to
MIGRATE_ISOLATE, then let undo_isolate_page_range() move the pageblocks
to MIGRATE_MOVABLE. After MIGRATE_ISOLATE becomes a standalone bit, all
online pageblocks need to have a migratetype other than MIGRATE_ISOLATE.
Let me know if there is any issue with my changes.

Conceptually, we should start with MIGRATE_MOVABLE + isolated, to then clear the isolated bit.

Let me take a look.


--
Cheers,

David / dhildenb