Home
last modified time | relevance | path

Searched hist:"60 bccaa671bce7ed040d9511b0738ca3b0a0e9ff" (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A DKconfigdiff 60bccaa671bce7ed040d9511b0738ca3b0a0e9ff Tue May 26 19:33:01 CEST 2020 Will Deacon <will@kernel.org> sparc32: mm: Disable SPLIT_PTLOCK_CPUS

The SRMMU page-table allocator is not compatible with SPLIT_PTLOCK_CPUS
for two major reasons:

1. Pages are allocated via memblock, and therefore the ptl is not
cleared by prep_new_page(), which is expected by ptlock_init()

2. Multiple PTE tables can exist in a single page, causing them to
share the same ptl and deadlock when attempting to take the same
lock twice (e.g. as part of copy_page_range()).

Ensure that SPLIT_PTLOCK_CPUS is not selected for SPARC32.

Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>