Home
last modified time | relevance | path

Searched refs:pages_shared (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/tools/testing/selftests/mm/
Dksm_tests.c99 unsigned long max_page_sharing, pages_sharing, pages_shared; in ksm_print_sysfs() local
104 if (ksm_read_sysfs(KSM_FP("pages_shared"), &pages_shared) || in ksm_print_sysfs()
115 printf("pages_shared : %lu\n", pages_shared); in ksm_print_sysfs()
280 unsigned long max_page_sharing, pages_sharing, pages_shared; in assert_ksm_pages_count() local
282 if (ksm_read_sysfs(KSM_FP("pages_shared"), &pages_shared) || in assert_ksm_pages_count()
303 if (pages_shared == dupl_page_count / max_page_sharing && in assert_ksm_pages_count()
304 pages_sharing == pages_shared * (max_page_sharing - 1)) in assert_ksm_pages_count()
307 if (pages_shared == (dupl_page_count / max_page_sharing + 1) && in assert_ksm_pages_count()
308 pages_sharing == dupl_page_count - pages_shared) in assert_ksm_pages_count()
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/mm/
Dksm.rst132 pages_shared
147 比值 ``pages_sharing/pages_shared`` 的最大值受限制于 ``max_page_sharing``
162 其中all_rmap_items可以通过对 ``pages_sharing`` 、 ``pages_shared`` 、 ``pages_unshared``
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-kernel-mm-ksm8 What: /sys/kernel/mm/ksm/pages_shared
22 pages_shared: how many shared pages are being used.
/linux-6.6.21/Documentation/admin-guide/mm/
Dksm.rst164 pages_shared
186 A high ratio of ``pages_sharing`` to ``pages_shared`` indicates good
192 The maximum possible ``pages_sharing/pages_shared`` ratio is limited by the
213 obtained by summing ``pages_sharing``, ``pages_shared``, ``pages_unshared``
/linux-6.6.21/mm/
Dksm.c3353 KSM_ATTR_RO(pages_shared);