Messages in this thread | | | From | Pavel Tatashin <> | Date | Tue, 3 Aug 2021 21:59:30 -0400 | Subject | Re: [PATCH v2 3/4] selftests: vm: add KSM zero page merging test |
| |
On Wed, Jul 14, 2021 at 4:56 AM Zhansaya Bagdauletkyzy <zhansayabagdaulet@gmail.com> wrote: > > Add check_ksm_zero_page_merge() function to test that empty pages are > being handled properly. For this, several zero pages are allocated and > merged using madvise. If use_zero_pages is enabled, the pages must be > shared with the special kernel zero pages; otherwise, they are merged > as usual duplicate pages. The test is run as follows: ./ksm_tests -Z > > Signed-off-by: Zhansaya Bagdauletkyzy <zhansayabagdaulet@gmail.com>
Reviewed-by: Pavel Tatashin <pasha.tatashin@soleen.com>
| |