linux_dsm_epyc7002/tools/testing/selftests/vm
Prakash Sangappa 81aac3a15e userfaultfd: selftest: add tests for UFFD_FEATURE_SIGBUS feature
Add tests for UFFD_FEATURE_SIGBUS feature.  The tests will verify signal
delivery instead of userfault events.  Also, test use of UFFDIO_COPY to
allocate memory and retry accessing monitored area after signal
delivery.

Also fix a bug in uffd_poll_thread() where 'uffd' is leaked.

Link: http://lkml.kernel.org/r/1501552446-748335-3-git-send-email-prakash.sangappa@oracle.com
Signed-off-by: Prakash Sangappa <prakash.sangappa@oracle.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-09-06 17:27:29 -07:00
..
.gitignore selftests/vm: add test for mlock() when areas are intersected 2016-10-07 18:46:28 -07:00
compaction_test.c selftests/vm: write strlen length instead of sizeof to nr_hugepages 2016-06-27 13:18:26 -06:00
config selftests: vm: add CONFIG_SYSVIPC=y to the config fragment 2017-04-11 09:38:39 -06:00
hugepage-mmap.c mm: move hugepage test examples to tools/testing/selftests/vm 2012-03-28 17:14:37 -07:00
hugepage-shm.c mm: move hugepage test examples to tools/testing/selftests/vm 2012-03-28 17:14:37 -07:00
Makefile selftests/vm: add a test for virtual address range mapping 2017-05-08 17:15:16 -07:00
map_hugetlb.c selftests/vm: Set mmap()'s fd as -1 for MAP_ANONYMOUS flag 2017-04-11 09:41:38 -06:00
mlock2-tests.c selftests/vm: Set mmap()'s fd as -1 for MAP_ANONYMOUS flag 2017-04-11 09:41:38 -06:00
mlock2.h selftest: move seek_to_smaps_entry() out of mlock2-tests.c 2016-10-07 18:46:28 -07:00
mlock-random-test.c selftests: expanding more mlock selftest 2016-10-07 18:46:28 -07:00
on-fault-limit.c selftests/vm: Set mmap()'s fd as -1 for MAP_ANONYMOUS flag 2017-04-11 09:41:38 -06:00
run_vmtests linux-kselftest-4.12-rc1 2017-05-08 20:43:30 -07:00
thuge-gen.c selftests/vm: Set mmap()'s fd as -1 for MAP_ANONYMOUS flag 2017-04-11 09:41:38 -06:00
transhuge-stress.c selftests/vm/transhuge-stress: stress test for memory compaction 2014-10-09 22:26:01 -04:00
userfaultfd.c userfaultfd: selftest: add tests for UFFD_FEATURE_SIGBUS feature 2017-09-06 17:27:29 -07:00
virtual_address_range.c selftests/vm: Fix test for virtual address range mapping for arm64 2017-06-07 10:07:21 -06:00