~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-kernel-mm-ksm

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 What:           /sys/kernel/mm/ksm
  2 Date:           September 2009
  3 KernelVersion:  2.6.32
  4 Contact:        Linux memory management mailing list <linux-mm@kvack.org>
  5 Description:    Interface for Kernel Samepage Merging (KSM)
  6 
  7 What:           /sys/kernel/mm/ksm/full_scans
  8 What:           /sys/kernel/mm/ksm/pages_shared
  9 What:           /sys/kernel/mm/ksm/pages_sharing
 10 What:           /sys/kernel/mm/ksm/pages_to_scan
 11 What:           /sys/kernel/mm/ksm/pages_unshared
 12 What:           /sys/kernel/mm/ksm/pages_volatile
 13 What:           /sys/kernel/mm/ksm/run
 14 What:           /sys/kernel/mm/ksm/sleep_millisecs
 15 Date:           September 2009
 16 Contact:        Linux memory management mailing list <linux-mm@kvack.org>
 17 Description:    Kernel Samepage Merging daemon sysfs interface
 18 
 19                 full_scans: how many times all mergeable areas have been
 20                 scanned.
 21 
 22                 pages_shared: how many shared pages are being used.
 23 
 24                 pages_sharing: how many more sites are sharing them i.e. how
 25                 much saved.
 26 
 27                 pages_to_scan: how many present pages to scan before ksmd goes
 28                 to sleep.
 29 
 30                 pages_unshared: how many pages unique but repeatedly checked
 31                 for merging.
 32 
 33                 pages_volatile: how many pages changing too fast to be placed
 34                 in a tree.
 35 
 36                 run: write 0 to disable ksm, read 0 while ksm is disabled.
 37 
 38                         - write 1 to run ksm, read 1 while ksm is running.
 39                         - write 2 to disable ksm and unmerge all its pages.
 40 
 41                 sleep_millisecs: how many milliseconds ksm should sleep between
 42                 scans.
 43 
 44                 See Documentation/mm/ksm.rst for more information.
 45 
 46 What:           /sys/kernel/mm/ksm/merge_across_nodes
 47 Date:           January 2013
 48 KernelVersion:  3.9
 49 Contact:        Linux memory management mailing list <linux-mm@kvack.org>
 50 Description:    Control merging pages across different NUMA nodes.
 51 
 52                 When it is set to 0 only pages from the same node are merged,
 53                 otherwise pages from all nodes can be merged together (default).
 54 
 55 What:           /sys/kernel/mm/ksm/general_profit
 56 Date:           April 2023
 57 KernelVersion:  6.4
 58 Contact:        Linux memory management mailing list <linux-mm@kvack.org>
 59 Description:    Measure how effective KSM is.
 60                 general_profit: how effective is KSM. The formula for the
 61                 calculation is in Documentation/admin-guide/mm/ksm.rst.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php