Re: [PATCH v22 8/9] mm: memory_hotplug: disable memmap_on_memory when hugetlb_free_vmemmap enabled

From: Mike Kravetz
Date: Wed May 05 2021 - 19:07:39 EST


On 4/29/21 8:13 PM, Muchun Song wrote:
> The parameter of memory_hotplug.memmap_on_memory is not compatible with
> hugetlb_free_vmemmap. So disable it when hugetlb_free_vmemmap is
> enabled.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 8 ++++++++
> drivers/acpi/acpi_memhotplug.c | 1 +
> mm/memory_hotplug.c | 1 +
> 3 files changed, 10 insertions(+)

This seems to have taken all of Oscar's concerns and suggestions into
account.

Acked-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
--
Mike Kravetz