linux/tools/testing/selftests/mm
Peter Xu 5aec236fdd selftests/mm: add shmem-private test to uffd-stress
The userfaultfd stress test never tested private shmem, which I think was
overlooked long due.  Add it so it matches with uffd unit test and it'll
cover all memory supported with the three memory types.

Meanwhile, rename the memory types a bit.  Considering shared mem is the
major use case for both shmem / hugetlbfs, changing from:

  anon, hugetlb, hugetlb_shared, shmem

To (with shmem-private added):

  anon, hugetlb, hugetlb-private, shmem, shmem-private

Add the shmem-private to run_vmtests.sh too.

Link: https://lkml.kernel.org/r/20230412164546.329355-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Dmitry Safonov <0x7f454c46@gmail.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Zach O'Keefe <zokeefe@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-04-18 16:30:08 -07:00
..
.gitignore selftests/mm: split uffd tests into uffd-stress and uffd-unit-tests 2023-04-18 16:30:04 -07:00
charge_reserved_hugetlb.sh
check_config.sh
compaction_test.c
config
cow.c selftests/mm: reuse read_pmd_pagesize() in COW selftest 2023-04-18 16:30:00 -07:00
gup_test.c selftests/mm: merge util.h into vm_util.h 2023-04-18 16:30:02 -07:00
hmm-tests.c
hugepage-mmap.c
hugepage-mremap.c selftests/mm: uffd_[un]register() 2023-04-18 16:30:05 -07:00
hugepage-shm.c
hugepage-vmemmap.c
hugetlb_reparenting_test.sh
hugetlb-madvise.c selftests/mm: merge default_huge_page_size() into one 2023-04-18 16:30:03 -07:00
khugepaged.c selftests/mm: reuse read_pmd_pagesize() in COW selftest 2023-04-18 16:30:00 -07:00
ksm_functional_tests.c selftests/mm: uffd_[un]register() 2023-04-18 16:30:05 -07:00
ksm_tests.c selftests/mm: merge util.h into vm_util.h 2023-04-18 16:30:02 -07:00
madv_populate.c
Makefile selftests/mm: split uffd tests into uffd-stress and uffd-unit-tests 2023-04-18 16:30:04 -07:00
map_fixed_noreplace.c
map_hugetlb.c
map_populate.c
mdwe_test.c
memfd_secret.c
migration.c
mkdirty.c selftests/mm: mkdirty: test behavior of (pte|pmd)_mkdirty on VMAs without write permissions 2023-04-18 16:30:00 -07:00
mlock2-tests.c
mlock2.h
mlock-random-test.c
mrelease_test.c selftests/mm: merge util.h into vm_util.h 2023-04-18 16:30:02 -07:00
mremap_dontunmap.c
mremap_test.c
on-fault-limit.c
pkey-helpers.h
pkey-powerpc.h
pkey-x86.h
protection_keys.c
run_vmtests.sh selftests/mm: add shmem-private test to uffd-stress 2023-04-18 16:30:08 -07:00
settings
soft-dirty.c selftests/mm: reuse read_pmd_pagesize() in COW selftest 2023-04-18 16:30:00 -07:00
split_huge_page_test.c selftests/mm: reuse read_pmd_pagesize() in COW selftest 2023-04-18 16:30:00 -07:00
test_hmm.sh
test_vmalloc.sh
thuge-gen.c selftests/mm: merge default_huge_page_size() into one 2023-04-18 16:30:03 -07:00
transhuge-stress.c selftests/mm: merge util.h into vm_util.h 2023-04-18 16:30:02 -07:00
uffd-common.c selftests/mm: drop sys/dev test in uffd-stress test 2023-04-18 16:30:08 -07:00
uffd-common.h selftests/mm: drop sys/dev test in uffd-stress test 2023-04-18 16:30:08 -07:00
uffd-stress.c selftests/mm: add shmem-private test to uffd-stress 2023-04-18 16:30:08 -07:00
uffd-unit-tests.c selftests/mm: allow uffd test to skip properly with no privilege 2023-04-18 16:30:08 -07:00
va_128TBswitch.c
va_128TBswitch.sh
virtual_address_range.c selftests/mm: change NR_CHUNKS_HIGH for aarch64 2023-04-05 19:42:59 -07:00
vm_util.c selftests/mm: move zeropage test into uffd unit tests 2023-04-18 16:30:07 -07:00
vm_util.h selftests/mm: move zeropage test into uffd unit tests 2023-04-18 16:30:07 -07:00
write_hugetlb_memory.sh
write_to_hugetlbfs.c