Re: [PATCHv2] mm/page_alloc: Make deferred page init free pages in MAX_ORDER blocks

From: David Hildenbrand
Date: Tue Mar 21 2023 - 09:50:16 EST


On 21.03.23 01:24, Kirill A. Shutemov wrote:
Normal page init path frees pages during the boot in MAX_ORDER chunks,
but deferred page init path does it in pageblock blocks.

Change deferred page init path to work in MAX_ORDER blocks.

For cases when MAX_ORDER is larger than pageblock, set migrate type to
MIGRATE_MOVABLE for all pageblocks covered by the page.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
---

Note: the patch depends on the new definiton of MAX_ORDER.

v2:

- Fix commit message;


Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Thanks,

David / dhildenb