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

From: David Hildenbrand
Date: Mon Jun 10 2024 - 04:56:36 EST


On 10.06.24 06:29, Oscar Salvador wrote:
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>


Thanks for the review!

--
Cheers,

David / dhildenb