Home
last modified time | relevance | path

Searched refs:max_page_sharing (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/Documentation/translations/zh_CN/mm/
Dksm.rst32 当KSM页面的共享数小于 ``max_page_sharing`` 的虚拟内存区域(VMAs)时,则代表了
46 由 ``max_page_sharing`` 强制决定的数据去重限制是必要的,以此来避免虚拟内存
48 虚拟映射)的数量,而这个共享页面的节点数量又被 ``max_page_sharing`` 所限制。
54 ``max_page_sharing`` 的值设置得高了会促使更快的内存合并(因为将有更少的稳定
58 ``stable_node_dups/stable_node_chains`` 的比值还受 ``max_page_sharing`` 调控
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/mm/
Dksm.rst114 max_page_sharing
127 ksmd在扫描期间使用更多CPU。如果还没有一个KSM页面达到 ``max_page_sharing``
143 达到 ``max_page_sharing`` 限制的KSM页数
147 比值 ``pages_sharing/pages_shared`` 的最大值受限制于 ``max_page_sharing``
148 的设定。要想增加该比值,则相应地要增加 ``max_page_sharing`` 的值。
/linux-6.6.21/tools/testing/selftests/mm/
Dksm_tests.c30 unsigned long max_page_sharing; member
99 unsigned long max_page_sharing, pages_sharing, pages_shared; in ksm_print_sysfs() local
106 ksm_read_sysfs(KSM_FP("max_page_sharing"), &max_page_sharing) || in ksm_print_sysfs()
117 printf("max_page_sharing : %lu\n", max_page_sharing); in ksm_print_sysfs()
280 unsigned long max_page_sharing, pages_sharing, pages_shared; in assert_ksm_pages_count() local
284 ksm_read_sysfs(KSM_FP("max_page_sharing"), &max_page_sharing)) in assert_ksm_pages_count()
302 if (dupl_page_count % max_page_sharing == 1 || dupl_page_count % max_page_sharing == 0) { 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()
[all …]
/linux-6.6.21/Documentation/mm/
Dksm.rst25 If a KSM page is shared between less than ``max_page_sharing`` VMAs,
45 The deduplication limit enforced by ``max_page_sharing`` is required
49 capped by ``max_page_sharing``. So this effectively spreads the linear
57 High values of ``max_page_sharing`` result in faster memory merging
65 ``max_page_sharing`` tunable, and an high ratio may indicate fragmentation
/linux-6.6.21/Documentation/admin-guide/mm/
Dksm.rst132 max_page_sharing
156 ``max_page_sharing`` yet.
175 the number of KSM pages that hit the ``max_page_sharing`` limit
193 ``max_page_sharing`` tunable. To increase the ratio ``max_page_sharing`` must
/linux-6.6.21/mm/
Dksm.c3339 KSM_ATTR(max_page_sharing);