[LTP] [PATCH v4 2/2] add ksm test for smart-scan feature

Petr Vorel pvorel@suse.cz
Tue Dec 5 21:11:39 CET 2023


Hi Stefan,

> This adds a new ksm (kernel samepage merging) test to evaluate the new
> smart scan feature. It allocates a page and fills it with 'a'
> characters. It captures the pages_skipped counter, waits for a few
> iterations and captures the pages_skipped counter again. The expectation
> is that over 50% of the page scans are skipped (There is only one page
> that has KSM enabled and it gets scanned during each iteration and it
> cannot be de-duplicated).

Thanks a lot, merged. We really appreciate when kernel developers writing new
tests.

(The previous patch was merged already as v3).

Kind regards,
Petr


More information about the ltp mailing list