lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e1383b21-1ad6-a74c-d4b6-e759e7371a89@oracle.com>
Date:   Thu, 10 Jun 2021 15:49:35 -0700
From:   Mike Kravetz <mike.kravetz@...cle.com>
To:     Muchun Song <songmuchun@...edance.com>, akpm@...ux-foundation.org,
        osalvador@...e.de, mhocko@...e.com, song.bao.hua@...ilicon.com,
        david@...hat.com, chenhuang5@...wei.com, bodeddub@...zon.com,
        corbet@....net
Cc:     duanxiongchun@...edance.com, fam.zheng@...edance.com,
        zhengqi.arch@...edance.com, linux-doc@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 4/5] mm: sparsemem: use huge PMD mapping for vmemmap pages

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@...edance.com>
> ---
>  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@...cle.com>
-- 
Mike Kravetz

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ