diff options
| author | Peter Xu <[email protected]> | 2023-04-12 16:45:46 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-18 23:30:08 +0000 |
| commit | 5aec236fdd69d39f9fa5e579d10f7a45ed11b005 (patch) | |
| tree | 95717233c5d2567c96f0271b6b7c84dac236516b /mm/sparse-vmemmap.c | |
| parent | selftests/mm: drop sys/dev test in uffd-stress test (diff) | |
| download | kernel-5aec236fdd69d39f9fa5e579d10f7a45ed11b005.tar.gz kernel-5aec236fdd69d39f9fa5e579d10f7a45ed11b005.zip | |
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/[email protected]
Signed-off-by: Peter Xu <[email protected]>
Cc: Axel Rasmussen <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Dmitry Safonov <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Mike Rapoport (IBM) <[email protected]>
Cc: Zach O'Keefe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/sparse-vmemmap.c')
0 files changed, 0 insertions, 0 deletions
