On Wed, Jul 14, 2021 at 4:56 AM Zhansaya Bagdauletkyzy zhansayabagdaulet@gmail.com wrote:
Add check_ksm_merge() function to check the basic merging feature of KSM. First, some number of identical pages are allocated and the MADV_MERGEABLE advice is given to merge these pages. Then, pages_shared and pages_sharing values are compared with the expected numbers using assert_ksm_pages_count() function. The number of pages can be changed using -p option.
Signed-off-by: Zhansaya Bagdauletkyzy zhansayabagdaulet@gmail.com
No comments, because I have already reviewed this series for Zhansaya as part of the Outreachy internship, so:
Reviewed-by: Pavel Tatashin pasha.tatashin@soleen.com