Revert "UPSTREAM: mm: page_alloc: move free pages when converting block during isolation"

This reverts commit fd83b273bd.

Change-Id: I388ca9659802fbed1668c22b0c1f963d2c656a70
Bug: 420771453
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
This commit is contained in:
Kalesh Singh
2025-05-27 21:13:50 -07:00
parent 13aa15180a
commit 94e3afbb3d

View File

@@ -2793,12 +2793,9 @@ int __isolate_free_page(struct page *page, unsigned int order)
* Only change normal pageblocks (i.e., they can merge
* with others)
*/
if (migratetype_is_mergeable(mt)) {
if (migratetype_is_mergeable(mt))
set_pageblock_migratetype(page,
MIGRATE_MOVABLE);
move_freepages_block(zone, page,
MIGRATE_MOVABLE, NULL);
}
}
}