Re: [PATCH v1 3/3] mm/memory_hotplug: skip adjust_managed_page_count() for PageOffline() pages when offlining

From: Oscar Salvador
Date: Mon Jun 10 2024 - 00:29:27 EST


On Fri, Jun 07, 2024 at 11:09:38AM +0200, David Hildenbrand wrote:
> We currently have a hack for virtio-mem in place to handle memory
> offlining with PageOffline pages for which we already adjusted the
> managed page count.
>
> Let's enlighten memory offlining code so we can get rid of that hack,
> and document the situation.
>
> Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>

Acked-by: Oscar Salvador <osalvador@xxxxxxx>

--
Oscar Salvador
SUSE Labs