On Thu, Apr 15, 2021 at 04:40:04PM +0800, Muchun Song wrote:
> bool mhp_supports_memmap_on_memory(unsigned long size)
> {
> + bool supported;
> unsigned long nr_vmemmap_pages = size / PAGE_SIZE;
> unsigned long vmemmap_size = nr_vmemmap_pages * sizeof(struct page);
> unsigne
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
---
Documentation/admin-guide/kernel-parameters.txt | 4
drivers/acpi/acpi_memhotplug.c | 1 +
mm/m
2 matches
Mail list logo