Re: [PATCH] mm/memory_hotplug: Factor out altmap freeing checks
From: Oscar Salvador
Date: Mon May 11 2026 - 05:31:22 EST
On Mon, May 11, 2026 at 04:43:07PM +0800, Muchun Song wrote:
> Use a small helper to centralize altmap freeing after verifying that all
> vmemmap pages were released. This keeps the check consistent between the
> normal teardown path and the memory hotplug error paths.
>
> Suggested-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
Acked-by: Oscar Salvador <osalvador@xxxxxxx>
--
Oscar Salvador
SUSE Labs