mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 09:34:44 +08:00
111fd29b2a
With the new uffd unit test covering the /dev/userfaultfd path and syscall path of uffd initializations, we can safely drop the devnode test in the old stress test. One thing is to avoid duplication of running the stress test twice which is an overkill to only test the /dev/ interface in run_vmtests.sh. The other benefit is now all uffd tests (that uses userfaultfd_open) can run automatically as long as any type of interface is enabled (either syscall or dev), so it's more likely to succeed rather than fail due to unprivilege. With this patch lands, we can drop all the "mem_type:XXX" handlings too. Link: https://lkml.kernel.org/r/20230412164525.329176-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> |
||
---|---|---|
.. | ||
.gitignore | ||
charge_reserved_hugetlb.sh | ||
check_config.sh | ||
compaction_test.c | ||
config | ||
cow.c | ||
gup_test.c | ||
hmm-tests.c | ||
hugepage-mmap.c | ||
hugepage-mremap.c | ||
hugepage-shm.c | ||
hugepage-vmemmap.c | ||
hugetlb_reparenting_test.sh | ||
hugetlb-madvise.c | ||
khugepaged.c | ||
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 | ||
mlock2-tests.c | ||
mlock2.h | ||
mlock-random-test.c | ||
mrelease_test.c | ||
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 | ||
settings | ||
soft-dirty.c | ||
split_huge_page_test.c | ||
test_hmm.sh | ||
test_vmalloc.sh | ||
thuge-gen.c | ||
transhuge-stress.c | ||
uffd-common.c | ||
uffd-common.h | ||
uffd-stress.c | ||
uffd-unit-tests.c | ||
va_128TBswitch.c | ||
va_128TBswitch.sh | ||
virtual_address_range.c | ||
vm_util.c | ||
vm_util.h | ||
write_hugetlb_memory.sh | ||
write_to_hugetlbfs.c |