diff options
author | 2020-05-26 18:33:01 +0100 | |
---|---|---|
committer | 2020-06-02 18:45:51 -0700 | |
commit | 60bccaa671bce7ed040d9511b0738ca3b0a0e9ff (patch) | |
tree | 4cd661ce17ab6ea6cd8cda944a81335b78fa32f7 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | sparc32: mm: Don't try to free page-table pages if ctor() fails (diff) | |
download | wireguard-linux-60bccaa671bce7ed040d9511b0738ca3b0a0e9ff.tar.xz wireguard-linux-60bccaa671bce7ed040d9511b0738ca3b0a0e9ff.zip |
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>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions