Re: [PATCH v4 4/8] mm/memory_hotplug: Poison memmap in remove_pfn_range_from_zone()

From: David Hildenbrand
Date: Thu Sep 26 2019 - 05:14:31 EST


On 26.09.19 11:10, Aneesh Kumar K.V wrote:
> David Hildenbrand <david@xxxxxxxxxx> writes:
> @@ -134,11 +134,12 @@ void memunmap_pages(struct dev_pagemap *pgmap)
>
>> mem_hotplug_begin();
>> + remove_pfn_range_from_zone(page_zone(pfn_to_page(pfn)), pfn,
>> + PHYS_PFN(resource_size(res)));
>
> That should be part of PATCH 3?

I thought about that but moved it to #4, because it easily gets lost in
the already-big-enough-patch and is a NOP for ZONE_DEVICE before this
change.

Thanks!

--

Thanks,

David / dhildenb