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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux