diff options
author | 2024-03-28 19:10:10 +0800 | |
---|---|---|
committer | 2024-04-25 20:56:29 -0700 | |
commit | 6c47de3be3a021d8b28d127802d590a49598a514 (patch) | |
tree | 51e56550889a7648c94ab6631186b6577e6ec3a6 /mm/memory.c | |
parent | selftest/mm: ksm_functional_tests: refactor mmap_and_merge_range() (diff) | |
download | wireguard-linux-6c47de3be3a021d8b28d127802d590a49598a514.tar.xz wireguard-linux-6c47de3be3a021d8b28d127802d590a49598a514.zip |
selftest/mm: ksm_functional_tests: extend test case for ksm fork/exec
This extends test_prctl_fork() and test_prctl_fork_exec() to make sure
that deduplication really happens, instead of only testing the
MMF_VM_MERGE_ANY flag is set.
[colin.i.king@gmail.com: fix spelling mistake in ksft_test_result_skip message]
Link: https://lkml.kernel.org/r/20240402081537.1365939-1-colin.i.king@gmail.com
Link: https://lkml.kernel.org/r/20240328111010.1502191-4-tujinjiang@huawei.com
Signed-off-by: Jinjiang Tu <tujinjiang@huawei.com>
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Suggested-by: David Hildenbrand <david@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Nanyong Sun <sunnanyong@huawei.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Stefan Roesch <shr@devkernel.io>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions