On Tue, 11 Jun 2024 12:06:56 +0200 David Hildenbrand <david@xxxxxxxxxx> wrote:
On 07.06.24 11:09, David Hildenbrand wrote:
In preparation for further changes, let's teach __free_pages_core()
about the differences of memory hotplug handling.
Move the memory hotplug specific handling from generic_online_page() to
__free_pages_core(), use adjust_managed_page_count() on the memory
hotplug path, and spell out why memory freed via memblock
cannot currently use adjust_managed_page_count().
Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>
---
@Andrew, can you squash the following?
Sure.
I queued it against "mm: pass meminit_context to __free_pages_core()",
not against