Message ID | 20220204044907.2B976C004E1@smtp.kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [01/10] Revert "mm/page_isolation: unset migratetype directly for non Buddy page" | expand |
--- a/mm/page_isolation.c~revert-mm-page_isolation-unset-migratetype-directly-for-non-buddy-page +++ a/mm/page_isolation.c @@ -115,7 +115,7 @@ static void unset_migratetype_isolate(st * onlining - just onlined memory won't immediately be considered for * allocation. */ - if (!isolated_page && PageBuddy(page)) { + if (!isolated_page) { nr_pages = move_freepages_block(zone, page, migratetype, NULL); __mod_zone_freepage_state(zone, nr_pages, migratetype); }