Re: [PATCH 4/5] mm: sparsemem: use huge PMD mapping for vmemmap pages

From: Mike Kravetz
Date: Thu Jun 10 2021 - 18:50:09 EST


On 6/9/21 5:13 AM, Muchun Song wrote:
> The preparation of splitting huge PMD mapping of vmemmap pages is ready,
> so switch the mapping from PTE to PMD.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> ---
> Documentation/admin-guide/kernel-parameters.txt | 7 -------
> arch/x86/mm/init_64.c | 8 ++------
> include/linux/hugetlb.h | 25 ++++++-------------------
> mm/memory_hotplug.c | 2 +-
> 4 files changed, 9 insertions(+), 33 deletions(-)

This pretty much removes all the code previously added to disable PMD
mapping if vmemmap optimizations were requested.

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