Files
erofs-linux/tools/testing/selftests/mm
Donet Tom 08ff89b565 selftests/mm: add fork inheritance test for ksm_merging_pages counter
Add a new selftest to verify whether the `ksm_merging_pages` counter in
`mm_struct` is not inherited by a child process after fork.  This helps
ensure correctness of KSM accounting across process creation.

Link: https://lkml.kernel.org/r/e7bb17d374133bd31a3e423aa9e46e1122e74971.1758648700.git.donettom@linux.ibm.com
Signed-off-by: Donet Tom <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Aboorva Devarajan <[email protected]>
Cc: Chengming Zhou <[email protected]>
Cc: "Ritesh Harjani (IBM)" <[email protected]>
Cc: Wei Yang <[email protected]>
Cc: xu xin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
2025-09-28 11:51:32 -07:00
..
…
…
…
…
…