Re: [PATCH RFC 1/9] mm: page_alloc: propagate PageReported flag across buddy splits
From: David Hildenbrand (Arm)
Date: Tue Apr 14 2026 - 05:09:06 EST
>>
>>
>> This raises a good question: how does buddy merging handle the reported
>> flag?
>>
>> --
>> Cheers,
>>
>> David
>
>
> IIUC it doesn't: reported pages are never merged, if a page is merged it has
> just entered buddy.
I guess it makes sense: if a page gets freed and we end up merging, the
freed page was not reported yet, so we have to report the whole block.
--
Cheers,
David