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

TOMOYO Linux Cross Reference
Linux/mm/damon/Kconfig

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 ] ~

Diff markup

Differences between /mm/damon/Kconfig (Architecture mips) and /mm/damon/Kconfig (Architecture sparc)


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2                                                     2 
  3 menu "Data Access Monitoring"                       3 menu "Data Access Monitoring"
  4                                                     4 
  5 config DAMON                                        5 config DAMON
  6         bool "DAMON: Data Access Monitoring Fr      6         bool "DAMON: Data Access Monitoring Framework"
  7         help                                        7         help
  8           This builds a framework that allows       8           This builds a framework that allows kernel subsystems to monitor
  9           access frequency of each memory regi      9           access frequency of each memory region. The information can be useful
 10           for performance-centric DRAM level m     10           for performance-centric DRAM level memory management.
 11                                                    11 
 12           See https://www.kernel.org/doc/html/     12           See https://www.kernel.org/doc/html/latest/mm/damon/index.html for
 13           more information.                        13           more information.
 14                                                    14 
 15 config DAMON_KUNIT_TEST                            15 config DAMON_KUNIT_TEST
 16         bool "Test for damon" if !KUNIT_ALL_TE     16         bool "Test for damon" if !KUNIT_ALL_TESTS
 17         depends on DAMON && KUNIT=y                17         depends on DAMON && KUNIT=y
 18         default KUNIT_ALL_TESTS                    18         default KUNIT_ALL_TESTS
 19         help                                       19         help
 20           This builds the DAMON Kunit test sui     20           This builds the DAMON Kunit test suite.
 21                                                    21 
 22           For more information on KUnit and un     22           For more information on KUnit and unit tests in general, please refer
 23           to the KUnit documentation.              23           to the KUnit documentation.
 24                                                    24 
 25           If unsure, say N.                        25           If unsure, say N.
 26                                                    26 
 27 config DAMON_VADDR                                 27 config DAMON_VADDR
 28         bool "Data access monitoring operation     28         bool "Data access monitoring operations for virtual address spaces"
 29         depends on DAMON && MMU                    29         depends on DAMON && MMU
 30         select PAGE_IDLE_FLAG                      30         select PAGE_IDLE_FLAG
 31         help                                       31         help
 32           This builds the default data access      32           This builds the default data access monitoring operations for DAMON
 33           that work for virtual address spaces     33           that work for virtual address spaces.
 34                                                    34 
 35 config DAMON_PADDR                                 35 config DAMON_PADDR
 36         bool "Data access monitoring operation     36         bool "Data access monitoring operations for the physical address space"
 37         depends on DAMON && MMU                    37         depends on DAMON && MMU
 38         select PAGE_IDLE_FLAG                      38         select PAGE_IDLE_FLAG
 39         help                                       39         help
 40           This builds the default data access      40           This builds the default data access monitoring operations for DAMON
 41           that works for the physical address      41           that works for the physical address space.
 42                                                    42 
 43 config DAMON_VADDR_KUNIT_TEST                      43 config DAMON_VADDR_KUNIT_TEST
 44         bool "Test for DAMON operations" if !K     44         bool "Test for DAMON operations" if !KUNIT_ALL_TESTS
 45         depends on DAMON_VADDR && KUNIT=y          45         depends on DAMON_VADDR && KUNIT=y
 46         default KUNIT_ALL_TESTS                    46         default KUNIT_ALL_TESTS
 47         help                                       47         help
 48           This builds the DAMON virtual addres     48           This builds the DAMON virtual addresses operations Kunit test suite.
 49                                                    49 
 50           For more information on KUnit and un     50           For more information on KUnit and unit tests in general, please refer
 51           to the KUnit documentation.              51           to the KUnit documentation.
 52                                                    52 
 53           If unsure, say N.                        53           If unsure, say N.
 54                                                    54 
 55 config DAMON_SYSFS                                 55 config DAMON_SYSFS
 56         bool "DAMON sysfs interface"               56         bool "DAMON sysfs interface"
 57         depends on DAMON && SYSFS                  57         depends on DAMON && SYSFS
 58         help                                       58         help
 59           This builds the sysfs interface for      59           This builds the sysfs interface for DAMON.  The user space can use
 60           the interface for arbitrary data acc     60           the interface for arbitrary data access monitoring.
 61                                                    61 
 62 config DAMON_SYSFS_KUNIT_TEST                      62 config DAMON_SYSFS_KUNIT_TEST
 63         bool "Test for damon debugfs interface     63         bool "Test for damon debugfs interface" if !KUNIT_ALL_TESTS
 64         depends on DAMON_SYSFS && KUNIT=y          64         depends on DAMON_SYSFS && KUNIT=y
 65         default KUNIT_ALL_TESTS                    65         default KUNIT_ALL_TESTS
 66         help                                       66         help
 67           This builds the DAMON sysfs interfac     67           This builds the DAMON sysfs interface Kunit test suite.
 68                                                    68 
 69           For more information on KUnit and un     69           For more information on KUnit and unit tests in general, please refer
 70           to the KUnit documentation.              70           to the KUnit documentation.
 71                                                    71 
 72           If unsure, say N.                        72           If unsure, say N.
 73                                                    73 
 74 config DAMON_DBGFS_DEPRECATED                      74 config DAMON_DBGFS_DEPRECATED
 75         bool "DAMON debugfs interface (DEPRECA     75         bool "DAMON debugfs interface (DEPRECATED!)"
 76         depends on DAMON_VADDR && DAMON_PADDR      76         depends on DAMON_VADDR && DAMON_PADDR && DEBUG_FS
 77         help                                       77         help
 78           This builds the debugfs interface fo     78           This builds the debugfs interface for DAMON.  The user space admins
 79           can use the interface for arbitrary      79           can use the interface for arbitrary data access monitoring.
 80                                                    80 
 81           If unsure, say N.                        81           If unsure, say N.
 82                                                    82 
 83           This is deprecated, so users should      83           This is deprecated, so users should move to the sysfs interface
 84           (DAMON_SYSFS).  If you depend on thi     84           (DAMON_SYSFS).  If you depend on this and cannot move, please report
 85           your usecase to damon@lists.linux.de     85           your usecase to damon@lists.linux.dev and linux-mm@kvack.org.
 86                                                    86 
 87 config DAMON_DBGFS                                 87 config DAMON_DBGFS
 88         bool                                       88         bool
 89         default y                                  89         default y
 90         depends on DAMON_DBGFS_DEPRECATED          90         depends on DAMON_DBGFS_DEPRECATED
 91                                                    91 
 92 config DAMON_DBGFS_KUNIT_TEST                      92 config DAMON_DBGFS_KUNIT_TEST
 93         bool "Test for damon debugfs interface     93         bool "Test for damon debugfs interface" if !KUNIT_ALL_TESTS
 94         depends on DAMON_DBGFS && KUNIT=y          94         depends on DAMON_DBGFS && KUNIT=y
 95         default KUNIT_ALL_TESTS                    95         default KUNIT_ALL_TESTS
 96         help                                       96         help
 97           This builds the DAMON debugfs interf     97           This builds the DAMON debugfs interface Kunit test suite.
 98                                                    98 
 99           For more information on KUnit and un     99           For more information on KUnit and unit tests in general, please refer
100           to the KUnit documentation.             100           to the KUnit documentation.
101                                                   101 
102           If unsure, say N.                       102           If unsure, say N.
103                                                   103 
104 config DAMON_RECLAIM                              104 config DAMON_RECLAIM
105         bool "Build DAMON-based reclaim (DAMON    105         bool "Build DAMON-based reclaim (DAMON_RECLAIM)"
106         depends on DAMON_PADDR                    106         depends on DAMON_PADDR
107         help                                      107         help
108           This builds the DAMON-based reclamat    108           This builds the DAMON-based reclamation subsystem.  It finds pages
109           that not accessed for a long time (c    109           that not accessed for a long time (cold) using DAMON and reclaim
110           those.                                  110           those.
111                                                   111 
112           This is suggested to be used as a pr    112           This is suggested to be used as a proactive and lightweight
113           reclamation under light memory press    113           reclamation under light memory pressure, while the traditional page
114           scanning-based reclamation is used f    114           scanning-based reclamation is used for heavy pressure.
115                                                   115 
116 config DAMON_LRU_SORT                             116 config DAMON_LRU_SORT
117         bool "Build DAMON-based LRU-lists sort    117         bool "Build DAMON-based LRU-lists sorting (DAMON_LRU_SORT)"
118         depends on DAMON_PADDR                    118         depends on DAMON_PADDR
119         help                                      119         help
120           This builds the DAMON-based LRU-list    120           This builds the DAMON-based LRU-lists sorting subsystem.  It tries to
121           protect frequently accessed (hot) pa    121           protect frequently accessed (hot) pages while rarely accessed (cold)
122           pages reclaimed first under memory p    122           pages reclaimed first under memory pressure.
123                                                   123 
124 endmenu                                           124 endmenu
                                                      

~ [ 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