Re: [PATCH v3 09/11] mm/cma: centralize CMA pageblock initialization
From: Oscar Salvador (SUSE)
Date: Mon Nov 23 2026 - 04:39:04 EST
On Fri, Nov 20, 2026 at 06:08:54PM +0800, Muchun Song wrote:
> Early CMA reservations currently require callers to maintain CMA state.
> This exposes internal bookkeeping requirements and splits responsibility
> for the same area between CMA and its users.
>
> Make CMA fully responsible for the state of early reservations. Pages
> already handed to a caller remain owned by that caller if activation
> fails, so keep their managed-page accounting intact regardless of whether
> CMA retains the rest of the area.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
Acked-by: Oscar Salvador (SUSE) <osalvador@xxxxxxxxxx>
--
Oscar Salvador
SUSE Labs