]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: update ksm inheritance tests for prctl fork/exec
authorxu xin <xu.xin16@zte.com.cn>
Tue, 7 Oct 2025 10:29:35 +0000 (18:29 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 15 Oct 2025 04:28:30 +0000 (21:28 -0700)
commitfffa45e91e29494f118b8557ea2d35694fa5c03f
tree6146d2652feb6d2b8f842ab8aa3ab75f43a4c2f7
parent674fa7c322057179b124c34d6825babdb712c4b6
selftests: update ksm inheritance tests for prctl fork/exec

To reproduce the issue mentioned by [1], this add a setting of
pages_to_scan and sleep_millisecs at the start of test_prctl_fork_exec().
The main change is just raise the scanning frequency of ksmd.

[1] https://lore.kernel.org/all/202510012256278259zrhgATlLA2C510DMD3qI@zte.com.cn/

Link: https://lkml.kernel.org/r/20251007182935207jm31wCIgLpZg5XbXQY64S@zte.com.cn
Signed-off-by: xu xin <xu.xin16@zte.com.cn>
Cc: David Hildenbrand <david@redhat.com>
Cc: Jinjiang Tu <tujinjiang@huawei.com>
Cc: Stefan Roesch <shr@devkernel.io>
Cc: Wang Yaxin <wang.yaxin@zte.com.cn>
Cc: Yang Yang <yang.yang29@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/ksm_functional_tests.c