Re: [RFC PATCH 2/5] mm/page_alloc: count a merged buddy's pages under the merged type

From: Rik van Riel

Date: Wed Oct 14 2026 - 11:47:02 EST


On Wed, 2026-10-14 at 20:49 +0530, Dev Jain wrote:
>
> As you said, in account_freepages(), there is currently
> no conditional based on MOVABLE and UNMOVABLE. So we
> are essentially doing -x and +x, netting to zero.

Lets defer this change until later.

During a later stage of the gigablock code, I
do need to track each zone's free pages by
migratetype, but it's not needed yet.

--
All Rights Reversed.