OrangePi_CM5/tools/testing/selftests/vm
Dmitry Safonov 1caed86022 tools/testing/selftests/vm/: add MAP_POPULATE test
As with many other projects, we use some shmalloc allocator.  At some
point we need to make a part of allocated pages back private to process.
And it should be populated straight away.  Check that (MAP_PRIVATE |
MAP_POPULATE) actually copies the private page.

[akpm@linux-foundation.org: change message, per review discussion]
Link: http://lkml.kernel.org/r/20180801233636.29354-1-dima@arista.com
Signed-off-by: Dmitry Safonov <dima@arista.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Dmitry Safonov <0x7f454c46@gmail.com>
Cc: Hua Zhong <hzhong@arista.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Stuart Ritchie <sritchie@arista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-08-22 10:52:45 -07:00
..
.gitignore tools/testing/selftests/vm/: add MAP_POPULATE test 2018-08-22 10:52:45 -07:00
Makefile tools/testing/selftests/vm/: add MAP_POPULATE test 2018-08-22 10:52:45 -07:00
compaction_test.c selftests: vm: return Kselftest Skip code for skipped tests 2018-06-18 09:11:10 -06:00
config
…
gup_benchmark.c mm: add infrastructure for get_user_pages_fast() benchmarking 2017-11-17 16:10:04 -08:00
hugepage-mmap.c
…
hugepage-shm.c
…
map_hugetlb.c
…
map_populate.c tools/testing/selftests/vm/: add MAP_POPULATE test 2018-08-22 10:52:45 -07:00
mlock-random-test.c
…
mlock2-tests.c selftests: vm: return Kselftest Skip code for skipped tests 2018-06-18 09:11:10 -06:00
mlock2.h
…
on-fault-limit.c
…
run_vmtests tools/testing/selftests/vm/: add MAP_POPULATE test 2018-08-22 10:52:45 -07:00
thuge-gen.c
…
transhuge-stress.c
…
userfaultfd.c selftests: vm: return Kselftest Skip code for skipped tests 2018-06-18 09:11:10 -06:00
va_128TBswitch.c selftests/vm: move 128TB mmap boundary test to generic directory 2018-01-31 17:18:37 -08:00
virtual_address_range.c
…