18c2ecf20Sopenharmony_ciWhat:		/sys/kernel/mm/ksm
28c2ecf20Sopenharmony_ciDate:		September 2009
38c2ecf20Sopenharmony_ciKernelVersion:	2.6.32
48c2ecf20Sopenharmony_ciContact:	Linux memory management mailing list <linux-mm@kvack.org>
58c2ecf20Sopenharmony_ciDescription:	Interface for Kernel Samepage Merging (KSM)
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciWhat:		/sys/kernel/mm/ksm/full_scans
88c2ecf20Sopenharmony_ciWhat:		/sys/kernel/mm/ksm/pages_shared
98c2ecf20Sopenharmony_ciWhat:		/sys/kernel/mm/ksm/pages_sharing
108c2ecf20Sopenharmony_ciWhat:		/sys/kernel/mm/ksm/pages_to_scan
118c2ecf20Sopenharmony_ciWhat:		/sys/kernel/mm/ksm/pages_unshared
128c2ecf20Sopenharmony_ciWhat:		/sys/kernel/mm/ksm/pages_volatile
138c2ecf20Sopenharmony_ciWhat:		/sys/kernel/mm/ksm/run
148c2ecf20Sopenharmony_ciWhat:		/sys/kernel/mm/ksm/sleep_millisecs
158c2ecf20Sopenharmony_ciDate:		September 2009
168c2ecf20Sopenharmony_ciContact:	Linux memory management mailing list <linux-mm@kvack.org>
178c2ecf20Sopenharmony_ciDescription:	Kernel Samepage Merging daemon sysfs interface
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci		full_scans: how many times all mergeable areas have been
208c2ecf20Sopenharmony_ci		scanned.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci		pages_shared: how many shared pages are being used.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci		pages_sharing: how many more sites are sharing them i.e. how
258c2ecf20Sopenharmony_ci		much saved.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci		pages_to_scan: how many present pages to scan before ksmd goes
288c2ecf20Sopenharmony_ci		to sleep.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci		pages_unshared: how many pages unique but repeatedly checked
318c2ecf20Sopenharmony_ci		for merging.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci		pages_volatile: how many pages changing too fast to be placed
348c2ecf20Sopenharmony_ci		in a tree.
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci		run: write 0 to disable ksm, read 0 while ksm is disabled.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci			- write 1 to run ksm, read 1 while ksm is running.
398c2ecf20Sopenharmony_ci			- write 2 to disable ksm and unmerge all its pages.
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci		sleep_millisecs: how many milliseconds ksm should sleep between
428c2ecf20Sopenharmony_ci		scans.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci		See Documentation/vm/ksm.rst for more information.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ciWhat:		/sys/kernel/mm/ksm/merge_across_nodes
478c2ecf20Sopenharmony_ciDate:		January 2013
488c2ecf20Sopenharmony_ciKernelVersion:	3.9
498c2ecf20Sopenharmony_ciContact:	Linux memory management mailing list <linux-mm@kvack.org>
508c2ecf20Sopenharmony_ciDescription:	Control merging pages across different NUMA nodes.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci		When it is set to 0 only pages from the same node are merged,
538c2ecf20Sopenharmony_ci		otherwise pages from all nodes can be merged together (default).
54