Re: [PATCH v9 2/4] mm: memory_hotplug: override memmap_on_memory when hugetlb_free_vmemmap=on

From: Andrew Morton
Date: Sat May 07 2022 - 17:05:19 EST


On Wed, 4 May 2022 11:37:43 +0800 Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:

> > Freeing HugeTLB vmemmap pages is not compatible with allocating memmap on
> > hot added memory. If "hugetlb_free_vmemmap=on" and
> > memory_hotplug.memmap_on_memory" are both passed on the kernel command line,
> > freeing hugetlb pages takes precedence. However, the global variable
> > memmap_on_memory will still be set to 1, even though we will not try to
> > allocate memmap on hot added memory.
> >
> > Not sure if that is more clear or not.
> >
>
> Clearer than mine.

I updated, thanks.