• David Hildenbrand's avatar
    mm/hugetlb: enforce that PMD PT sharing has split PMD PT locks · 188cac58
    David Hildenbrand authored
    Sharing page tables between processes but falling back to per-MM page
    table locks cannot possibly work.
    
    So, let's make sure that we do have split PMD locks by adding a new
    Kconfig option and letting that depend on CONFIG_SPLIT_PMD_PTLOCKS.
    
    Link: https://lkml.kernel.org/r/20240726150728.3159964-3-david@redhat.comSigned-off-by: default avatarDavid Hildenbrand <david@redhat.com>
    Acked-by: default avatarMike Rapoport (Microsoft) <rppt@kernel.org>
    Cc: Alexander Viro <viro@zeniv.linux.org.uk>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
    Cc: Christian Brauner <brauner@kernel.org>
    Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
    Cc: Dave Hansen <dave.hansen@linux.intel.com>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Juergen Gross <jgross@suse.com>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: Muchun Song <muchun.song@linux.dev>
    Cc: "Naveen N. Rao" <naveen.n.rao@linux.ibm.com>
    Cc: Nicholas Piggin <npiggin@gmail.com>
    Cc: Oscar Salvador <osalvador@suse.de>
    Cc: Peter Xu <peterx@redhat.com>
    Cc: Russell King <linux@armlinux.org.uk>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    188cac58
Kconfig 10.1 KB