WSL2-Linux-Kernel/tools/testing/selftests/vm
Simon Guo 26b4224d99 selftests: expanding more mlock selftest
This patch will randomly perform mlock/mlock2 on a given memory region,
and verify the RLIMIT_MEMLOCK limitation works properly.

Suggested-by: David Rientjes <rientjes@google.com>
Link: http://lkml.kernel.org/r/1473325970-11393-4-git-send-email-wei.guo.simon@gmail.com
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Eric B Munson <emunson@akamai.com>
Cc: Simon Guo <wei.guo.simon@gmail.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Alexey Klimov <klimov.linux@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-10-07 18:46:28 -07:00
..
.gitignore selftests/vm: add test for mlock() when areas are intersected 2016-10-07 18:46:28 -07:00
Makefile selftests: expanding more mlock selftest 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: create test-specific kconfig fragments 2016-02-25 09:47:52 -07: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
map_hugetlb.c mm, selftests: test return value of munmap for MAP_HUGETLB memory 2015-04-15 16:35:19 -07:00
mlock-random-test.c selftests: expanding more mlock selftest 2016-10-07 18:46:28 -07:00
mlock2-tests.c selftest: move seek_to_smaps_entry() out of mlock2-tests.c 2016-10-07 18:46:28 -07:00
mlock2.h selftest: move seek_to_smaps_entry() out of mlock2-tests.c 2016-10-07 18:46:28 -07:00
on-fault-limit.c selftests/vm: Don't mlockall MCL_CURRENT in on-fault-limit test 2016-06-27 13:19:24 -06:00
run_vmtests linux-kselftest-4.4-rc1 2015-11-10 20:46:45 -08:00
thuge-gen.c selftests/thuge-gen: Use platform specific MAP_HUGETLB value 2016-05-22 21:43:41 +02: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: don't error out if pthread_mutex_t isn't identical 2015-09-22 15:09:53 -07:00