Lines Matching +full:s +full:- +full:merged

8 KSM is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y,
19 content which can be replaced by a single write-protected page (which
26 KSM's merged pages were originally locked into kernel memory, but can now
46 unmerges whatever it merged in that range. Note: this unmerging call
47 may suddenly require more memory than is available - possibly failing
48 with EAGAIN, but more probably arousing the Out-Of-Memory killer.
60 will exceed ``vm.max_map_count`` (see Documentation/admin-guide/sysctl/vm.rst).
68 restricting its use to areas likely to benefit. KSM's scans may use a lot
84 been set to scan-time.
95 specifies if pages from different NUMA nodes can be merged.
112 * set to 0 to stop ksmd from running but keep merged pages,
114 * set to 2 to stop ksmd and unmerge all pages currently merged, but
123 empty pages are merged with the kernel zero page(s) instead of
131 effective for pages merged after the change.
158 scan. It's a noop if not a single KSM page hit the
164 enabled, pages that have previously not been de-duplicated get
166 de-duplication has already been tried and failed. By default this
172 supported: none and scan-time. The default is none. By setting
173 ``advisor_mode`` to scan-time, the scan time advisor is enabled.
238 save each scanned page's brief rmap information. Some of these pages may
239 be merged, but some may not be abled to be merged after being checked
242 1) How to determine whether KSM save memory or consume memory in system-wide
245 general_profit =~ ksm_saved_pages * sizeof(page) - (all_rmap_items) *
256 process_profit =~ ksm_saved_pages * sizeof(page) -
266 ``ksm_merging_pages`` means a bad madvise-applied policy, so developers or
268 for reference, a page's size is usually 4K, and the rmap_item's size is
269 separately 32B on 32-bit CPU architecture and 64B on 64-bit CPU architecture.
270 so if the ``ksm_rmap_items/ksm_merging_pages`` ratio exceeds 64 on 64-bit CPU
271 or exceeds 128 on 32-bit CPU, then the app's madvise policy should be dropped,
278 KSM might help save memory, it's a tradeoff by may suffering delay on KSM COW
290 cannot do all the locking needed to reconstitute a cross-anon_vma KSM page.
303 scan-time. With none, no advisor is enabled. The default is none.
318 The ``pages_to_scan`` parameter is re-calculated after a scan has been completed.
321 --