linux/tools/testing/selftests/mm
Edward Liaw f2330b650e selftests/mm: fix deadlock for fork after pthread_create with atomic_bool
Some additional synchronization is needed on Android ARM64; we see a
deadlock with pthread_create when the parent thread races forward before
the child has a chance to start doing work.

Link: https://lkml.kernel.org/r/20241018171734.2315053-4-edliaw@google.com
Fixes: cff2945827 ("selftests/mm: extend and rename uffd pagemap test")
Signed-off-by: Edward Liaw <edliaw@google.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-10-28 21:40:41 -07:00
..
.gitignore
charge_reserved_hugetlb.sh
check_config.sh
compaction_test.c
config
cow.c
droppable.c
gup_longterm.c
gup_test.c
hmm-tests.c selftests/mm: fix incorrect buffer->mirror size in hmm2 double_map test 2024-10-09 12:47:19 -07:00
hugepage-mmap.c
hugepage-mremap.c
hugepage-shm.c
hugepage-vmemmap.c
hugetlb-madvise.c
hugetlb-read-hwpoison.c
hugetlb-soft-offline.c
hugetlb_dio.c
hugetlb_fault_after_madv.c
hugetlb_madv_vs_map.c
hugetlb_reparenting_test.sh
khugepaged.c selftests: mm: fix the incorrect usage() info of khugepaged 2024-10-17 00:28:11 -07:00
ksm_functional_tests.c
ksm_tests.c
madv_populate.c
Makefile
map_fixed_noreplace.c
map_hugetlb.c
map_populate.c
mdwe_test.c
memfd_secret.c
migration.c
mkdirty.c
mlock-random-test.c
mlock2-tests.c
mlock2.h
mrelease_test.c
mremap_dontunmap.c
mremap_test.c
mseal_helpers.h
mseal_test.c
on-fault-limit.c
pagemap_ioctl.c
pkey-arm64.h
pkey-helpers.h
pkey-powerpc.h
pkey-x86.h
pkey_sighandler_tests.c
protection_keys.c
run_vmtests.sh
seal_elf.c
settings
soft-dirty.c
split_huge_page_test.c
test_hmm.sh
test_vmalloc.sh
thp_settings.c
thp_settings.h
thuge-gen.c
transhuge-stress.c
uffd-common.c Revert "selftests/mm: replace atomic_bool with pthread_barrier_t" 2024-10-28 21:40:41 -07:00
uffd-common.h Revert "selftests/mm: replace atomic_bool with pthread_barrier_t" 2024-10-28 21:40:41 -07:00
uffd-stress.c
uffd-unit-tests.c selftests/mm: fix deadlock for fork after pthread_create with atomic_bool 2024-10-28 21:40:41 -07:00
va_high_addr_switch.c
va_high_addr_switch.sh
virtual_address_range.c
vm_util.c
vm_util.h
write_hugetlb_memory.sh
write_to_hugetlbfs.c