Re: [PATCH v2 03/19] mm/hugetlb: Introduce a new config HUGETLB_PAGE_FREE_VMEMMAP

From: Oscar Salvador
Date: Thu Oct 29 2020 - 06:29:25 EST


On Mon, Oct 26, 2020 at 10:50:58PM +0800, Muchun Song wrote:
> The purpose of introducing HUGETLB_PAGE_FREE_VMEMMAP is to configure
> whether to enable the feature of freeing unused vmemmap associated
> with HugeTLB pages. Now only support x86.

Why this needs to be a config thing?
If this space-memory-optimization does not come with a trade-off,
why does the user have to set this instead of coming by default?


--
Oscar Salvador
SUSE L3