Re: [PATCH v6 7/7] mm/memory_hotplug: Factor out altmap freeing checks
From: David Hildenbrand (Arm)
Date: Fri Apr 24 2026 - 03:34:57 EST
On 4/24/26 04:55, 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>
> ---
Thanks!
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
Andrew usually prefers sending non-fixes separately, but he can tell us how he
prefers it in this case here.
--
Cheers,
David