Searched refs:max_page_sharing (Results 1 – 4 of 4) sorted by relevance
22 unsigned long max_page_sharing; member182 unsigned long max_page_sharing, pages_sharing, pages_shared; in assert_ksm_pages_count() local186 ksm_read_sysfs(KSM_FP("max_page_sharing"), &max_page_sharing)) in assert_ksm_pages_count()199 if (dupl_page_count % max_page_sharing == 1 || dupl_page_count % max_page_sharing == 0) { in assert_ksm_pages_count()200 if (pages_shared == dupl_page_count / max_page_sharing && in assert_ksm_pages_count()201 pages_sharing == pages_shared * (max_page_sharing - 1)) in assert_ksm_pages_count()204 if (pages_shared == (dupl_page_count / max_page_sharing + 1) && in assert_ksm_pages_count()214 if (ksm_read_sysfs(KSM_FP("max_page_sharing"), &ksm_sysfs->max_page_sharing) || in ksm_save_def()229 if (ksm_write_sysfs(KSM_FP("max_page_sharing"), ksm_sysfs->max_page_sharing) || in ksm_restore()
27 If a KSM page is shared between less than ``max_page_sharing`` VMAs,47 The deduplication limit enforced by ``max_page_sharing`` is required51 capped by ``max_page_sharing``. So this effectively spreads the linear59 High values of ``max_page_sharing`` result in faster memory merging67 ``max_page_sharing`` tunable, and an high ratio may indicate fragmentation
134 max_page_sharing158 ``max_page_sharing`` yet.173 the number of KSM pages that hit the ``max_page_sharing`` limit184 ``max_page_sharing`` tunable. To increase the ratio ``max_page_sharing`` must
3039 KSM_ATTR(max_page_sharing);