Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/tools/testing/selftests/vm/
Dksm_tests.c27 unsigned long max_page_sharing; member
193 unsigned long max_page_sharing, pages_sharing, pages_shared; in assert_ksm_pages_count() local
197 ksm_read_sysfs(KSM_FP("max_page_sharing"), &max_page_sharing)) in assert_ksm_pages_count()
210 if (dupl_page_count % max_page_sharing == 1 || dupl_page_count % max_page_sharing == 0) { in assert_ksm_pages_count()
211 if (pages_shared == dupl_page_count / max_page_sharing && in assert_ksm_pages_count()
212 pages_sharing == pages_shared * (max_page_sharing - 1)) in assert_ksm_pages_count()
215 if (pages_shared == (dupl_page_count / max_page_sharing + 1) && in assert_ksm_pages_count()
225 if (ksm_read_sysfs(KSM_FP("max_page_sharing"), &ksm_sysfs->max_page_sharing) || in ksm_save_def()
241 if (ksm_write_sysfs(KSM_FP("max_page_sharing"), ksm_sysfs->max_page_sharing) || in ksm_restore()
/linux-6.1.9/Documentation/mm/
Dksm.rst27 If a KSM page is shared between less than ``max_page_sharing`` VMAs,
47 The deduplication limit enforced by ``max_page_sharing`` is required
51 capped by ``max_page_sharing``. So this effectively spreads the linear
59 High values of ``max_page_sharing`` result in faster memory merging
67 ``max_page_sharing`` tunable, and an high ratio may indicate fragmentation
/linux-6.1.9/Documentation/admin-guide/mm/
Dksm.rst134 max_page_sharing
158 ``max_page_sharing`` yet.
173 the number of KSM pages that hit the ``max_page_sharing`` limit
184 ``max_page_sharing`` tunable. To increase the ratio ``max_page_sharing`` must
/linux-6.1.9/mm/
Dksm.c3066 KSM_ATTR(max_page_sharing);