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

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

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 /Documentation/ABI/testing/sysfs-kernel-mm-damon (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-kernel-mm-damon (Version linux-6.6.60)


  1 what:           /sys/kernel/mm/damon/               1 what:           /sys/kernel/mm/damon/
  2 Date:           Mar 2022                            2 Date:           Mar 2022
  3 Contact:        SeongJae Park <sj@kernel.org>        3 Contact:        SeongJae Park <sj@kernel.org>
  4 Description:    Interface for Data Access MONi      4 Description:    Interface for Data Access MONitoring (DAMON).  Contains files
  5                 for controlling DAMON.  For mo      5                 for controlling DAMON.  For more details on DAMON itself,
  6                 please refer to Documentation/      6                 please refer to Documentation/admin-guide/mm/damon/index.rst.
  7                                                     7 
  8 What:           /sys/kernel/mm/damon/admin/         8 What:           /sys/kernel/mm/damon/admin/
  9 Date:           Mar 2022                            9 Date:           Mar 2022
 10 Contact:        SeongJae Park <sj@kernel.org>       10 Contact:        SeongJae Park <sj@kernel.org>
 11 Description:    Interface for privileged users     11 Description:    Interface for privileged users of DAMON.  Contains files for
 12                 controlling DAMON that aimed t     12                 controlling DAMON that aimed to be used by privileged users.
 13                                                    13 
 14 What:           /sys/kernel/mm/damon/admin/kda     14 What:           /sys/kernel/mm/damon/admin/kdamonds/nr_kdamonds
 15 Date:           Mar 2022                           15 Date:           Mar 2022
 16 Contact:        SeongJae Park <sj@kernel.org>       16 Contact:        SeongJae Park <sj@kernel.org>
 17 Description:    Writing a number 'N' to this f     17 Description:    Writing a number 'N' to this file creates the number of
 18                 directories for controlling ea     18                 directories for controlling each DAMON worker thread (kdamond)
 19                 named '0' to 'N-1' under the k     19                 named '0' to 'N-1' under the kdamonds/ directory.
 20                                                    20 
 21 What:           /sys/kernel/mm/damon/admin/kda     21 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/state
 22 Date:           Mar 2022                           22 Date:           Mar 2022
 23 Contact:        SeongJae Park <sj@kernel.org>       23 Contact:        SeongJae Park <sj@kernel.org>
 24 Description:    Writing 'on' or 'off' to this      24 Description:    Writing 'on' or 'off' to this file makes the kdamond starts or
 25                 stops, respectively.  Reading      25                 stops, respectively.  Reading the file returns the keywords
 26                 based on the current status.       26                 based on the current status.  Writing 'commit' to this file
 27                 makes the kdamond reads the us     27                 makes the kdamond reads the user inputs in the sysfs files
 28                 except 'state' again.  Writing !!  28                 except 'state' again.  Writing 'update_schemes_stats' to the
 29                 this file makes the kdamond re !!  29                 file updates contents of schemes stats files of the kdamond.
 30                 Writing 'update_schemes_stats' !!  30                 Writing 'update_schemes_tried_regions' to the file updates
 31                 schemes stats files of the kda !!  31                 contents of 'tried_regions' directory of every scheme directory
 32                 'update_schemes_tried_regions' !!  32                 of this kdamond.  Writing 'update_schemes_tried_bytes' to the
 33                 'tried_regions' directory of e !!  33                 file updates only '.../tried_regions/total_bytes' files of this
 34                 kdamond.  Writing 'update_sche << 
 35                 updates only '.../tried_region << 
 36                 kdamond.  Writing 'clear_schem     34                 kdamond.  Writing 'clear_schemes_tried_regions' to the file
 37                 removes contents of the 'tried !!  35                 removes contents of the 'tried_regions' directory.
 38                 'update_schemes_effective_quot << 
 39                 '.../quotas/effective_bytes' f << 
 40                                                    36 
 41 What:           /sys/kernel/mm/damon/admin/kda     37 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/pid
 42 Date:           Mar 2022                           38 Date:           Mar 2022
 43 Contact:        SeongJae Park <sj@kernel.org>       39 Contact:        SeongJae Park <sj@kernel.org>
 44 Description:    Reading this file returns the      40 Description:    Reading this file returns the pid of the kdamond if it is
 45                 running.                           41                 running.
 46                                                    42 
 47 What:           /sys/kernel/mm/damon/admin/kda     43 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/nr_contexts
 48 Date:           Mar 2022                           44 Date:           Mar 2022
 49 Contact:        SeongJae Park <sj@kernel.org>       45 Contact:        SeongJae Park <sj@kernel.org>
 50 Description:    Writing a number 'N' to this f     46 Description:    Writing a number 'N' to this file creates the number of
 51                 directories for controlling ea     47                 directories for controlling each DAMON context named '0' to
 52                 'N-1' under the contexts/ dire     48                 'N-1' under the contexts/ directory.
 53                                                    49 
 54 What:           /sys/kernel/mm/damon/admin/kda     50 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/avail_operations
 55 Date:           Apr 2022                           51 Date:           Apr 2022
 56 Contact:        SeongJae Park <sj@kernel.org>       52 Contact:        SeongJae Park <sj@kernel.org>
 57 Description:    Reading this file returns the      53 Description:    Reading this file returns the available monitoring operations
 58                 sets on the currently running      54                 sets on the currently running kernel.
 59                                                    55 
 60 What:           /sys/kernel/mm/damon/admin/kda     56 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/operations
 61 Date:           Mar 2022                           57 Date:           Mar 2022
 62 Contact:        SeongJae Park <sj@kernel.org>       58 Contact:        SeongJae Park <sj@kernel.org>
 63 Description:    Writing a keyword for a monito     59 Description:    Writing a keyword for a monitoring operations set ('vaddr' for
 64                 virtual address spaces monitor     60                 virtual address spaces monitoring, 'fvaddr' for fixed virtual
 65                 address ranges monitoring, and     61                 address ranges monitoring, and 'paddr' for the physical address
 66                 space monitoring) to this file     62                 space monitoring) to this file makes the context to use the
 67                 operations set.  Reading the f     63                 operations set.  Reading the file returns the keyword for the
 68                 operations set the context is      64                 operations set the context is set to use.
 69                                                    65 
 70                 Note that only the operations      66                 Note that only the operations sets that listed in
 71                 'avail_operations' file are va     67                 'avail_operations' file are valid inputs.
 72                                                    68 
 73 What:           /sys/kernel/mm/damon/admin/kda     69 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/sample_us
 74 Date:           Mar 2022                           70 Date:           Mar 2022
 75 Contact:        SeongJae Park <sj@kernel.org>       71 Contact:        SeongJae Park <sj@kernel.org>
 76 Description:    Writing a value to this file s     72 Description:    Writing a value to this file sets the sampling interval of the
 77                 DAMON context in microseconds      73                 DAMON context in microseconds as the value.  Reading this file
 78                 returns the value.                 74                 returns the value.
 79                                                    75 
 80 What:           /sys/kernel/mm/damon/admin/kda     76 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/aggr_us
 81 Date:           Mar 2022                           77 Date:           Mar 2022
 82 Contact:        SeongJae Park <sj@kernel.org>       78 Contact:        SeongJae Park <sj@kernel.org>
 83 Description:    Writing a value to this file s     79 Description:    Writing a value to this file sets the aggregation interval of
 84                 the DAMON context in microseco     80                 the DAMON context in microseconds as the value.  Reading this
 85                 file returns the value.            81                 file returns the value.
 86                                                    82 
 87 What:           /sys/kernel/mm/damon/admin/kda     83 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/intervals/update_us
 88 Date:           Mar 2022                           84 Date:           Mar 2022
 89 Contact:        SeongJae Park <sj@kernel.org>       85 Contact:        SeongJae Park <sj@kernel.org>
 90 Description:    Writing a value to this file s     86 Description:    Writing a value to this file sets the update interval of the
 91                 DAMON context in microseconds      87                 DAMON context in microseconds as the value.  Reading this file
 92                 returns the value.                 88                 returns the value.
 93                                                    89 
 94 What:           /sys/kernel/mm/damon/admin/kda     90 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/min
 95                                                    91 
 96 WDate:          Mar 2022                           92 WDate:          Mar 2022
 97 Contact:        SeongJae Park <sj@kernel.org>       93 Contact:        SeongJae Park <sj@kernel.org>
 98 Description:    Writing a value to this file s     94 Description:    Writing a value to this file sets the minimum number of
 99                 monitoring regions of the DAMO     95                 monitoring regions of the DAMON context as the value.  Reading
100                 this file returns the value.       96                 this file returns the value.
101                                                    97 
102 What:           /sys/kernel/mm/damon/admin/kda     98 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/monitoring_attrs/nr_regions/max
103 Date:           Mar 2022                           99 Date:           Mar 2022
104 Contact:        SeongJae Park <sj@kernel.org>      100 Contact:        SeongJae Park <sj@kernel.org>
105 Description:    Writing a value to this file s    101 Description:    Writing a value to this file sets the maximum number of
106                 monitoring regions of the DAMO    102                 monitoring regions of the DAMON context as the value.  Reading
107                 this file returns the value.      103                 this file returns the value.
108                                                   104 
109 What:           /sys/kernel/mm/damon/admin/kda    105 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/nr_targets
110 Date:           Mar 2022                          106 Date:           Mar 2022
111 Contact:        SeongJae Park <sj@kernel.org>      107 Contact:        SeongJae Park <sj@kernel.org>
112 Description:    Writing a number 'N' to this f    108 Description:    Writing a number 'N' to this file creates the number of
113                 directories for controlling ea    109                 directories for controlling each DAMON target of the context
114                 named '0' to 'N-1' under the c    110                 named '0' to 'N-1' under the contexts/ directory.
115                                                   111 
116 What:           /sys/kernel/mm/damon/admin/kda    112 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/pid_target
117 Date:           Mar 2022                          113 Date:           Mar 2022
118 Contact:        SeongJae Park <sj@kernel.org>      114 Contact:        SeongJae Park <sj@kernel.org>
119 Description:    Writing to and reading from th    115 Description:    Writing to and reading from this file sets and gets the pid of
120                 the target process if the cont    116                 the target process if the context is for virtual address spaces
121                 monitoring, respectively.         117                 monitoring, respectively.
122                                                   118 
123 What:           /sys/kernel/mm/damon/admin/kda    119 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/nr_regions
124 Date:           Mar 2022                          120 Date:           Mar 2022
125 Contact:        SeongJae Park <sj@kernel.org>      121 Contact:        SeongJae Park <sj@kernel.org>
126 Description:    Writing a number 'N' to this f    122 Description:    Writing a number 'N' to this file creates the number of
127                 directories for setting each D    123                 directories for setting each DAMON target memory region of the
128                 context named '0' to 'N-1' und    124                 context named '0' to 'N-1' under the regions/ directory.  In
129                 case of the virtual address sp    125                 case of the virtual address space monitoring, DAMON
130                 automatically sets the target     126                 automatically sets the target memory region based on the target
131                 processes' mappings.              127                 processes' mappings.
132                                                   128 
133 What:           /sys/kernel/mm/damon/admin/kda    129 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/start
134 Date:           Mar 2022                          130 Date:           Mar 2022
135 Contact:        SeongJae Park <sj@kernel.org>      131 Contact:        SeongJae Park <sj@kernel.org>
136 Description:    Writing to and reading from th    132 Description:    Writing to and reading from this file sets and gets the start
137                 address of the monitoring regi    133                 address of the monitoring region.
138                                                   134 
139 What:           /sys/kernel/mm/damon/admin/kda    135 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/targets/<T>/regions/<R>/end
140 Date:           Mar 2022                          136 Date:           Mar 2022
141 Contact:        SeongJae Park <sj@kernel.org>      137 Contact:        SeongJae Park <sj@kernel.org>
142 Description:    Writing to and reading from th    138 Description:    Writing to and reading from this file sets and gets the end
143                 address of the monitoring regi    139                 address of the monitoring region.
144                                                   140 
145 What:           /sys/kernel/mm/damon/admin/kda    141 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/nr_schemes
146 Date:           Mar 2022                          142 Date:           Mar 2022
147 Contact:        SeongJae Park <sj@kernel.org>      143 Contact:        SeongJae Park <sj@kernel.org>
148 Description:    Writing a number 'N' to this f    144 Description:    Writing a number 'N' to this file creates the number of
149                 directories for controlling ea    145                 directories for controlling each DAMON-based operation scheme
150                 of the context named '0' to 'N    146                 of the context named '0' to 'N-1' under the schemes/ directory.
151                                                   147 
152 What:           /sys/kernel/mm/damon/admin/kda    148 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/action
153 Date:           Mar 2022                          149 Date:           Mar 2022
154 Contact:        SeongJae Park <sj@kernel.org>      150 Contact:        SeongJae Park <sj@kernel.org>
155 Description:    Writing to and reading from th    151 Description:    Writing to and reading from this file sets and gets the action
156                 of the scheme.                    152                 of the scheme.
157                                                   153 
158 What:           /sys/kernel/mm/damon/admin/kda << 
159 Date:           Jun 2024                       << 
160 Contact:        SeongJae Park <sj@kernel.org>   << 
161 Description:    Action's target NUMA node id.  << 
162                 actions.                       << 
163                                                << 
164 What:           /sys/kernel/mm/damon/admin/kda << 
165 Date:           Sep 2023                       << 
166 Contact:        SeongJae Park <sj@kernel.org>   << 
167 Description:    Writing a value to this file s << 
168                 the scheme in microseconds.  R << 
169                 value.                         << 
170                                                << 
171 What:           /sys/kernel/mm/damon/admin/kda    154 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/min
172 Date:           Mar 2022                          155 Date:           Mar 2022
173 Contact:        SeongJae Park <sj@kernel.org>      156 Contact:        SeongJae Park <sj@kernel.org>
174 Description:    Writing to and reading from th    157 Description:    Writing to and reading from this file sets and gets the minimum
175                 size of the scheme's target re    158                 size of the scheme's target regions in bytes.
176                                                   159 
177 What:           /sys/kernel/mm/damon/admin/kda    160 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/sz/max
178 Date:           Mar 2022                          161 Date:           Mar 2022
179 Contact:        SeongJae Park <sj@kernel.org>      162 Contact:        SeongJae Park <sj@kernel.org>
180 Description:    Writing to and reading from th    163 Description:    Writing to and reading from this file sets and gets the maximum
181                 size of the scheme's target re    164                 size of the scheme's target regions in bytes.
182                                                   165 
183 What:           /sys/kernel/mm/damon/admin/kda    166 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/min
184 Date:           Mar 2022                          167 Date:           Mar 2022
185 Contact:        SeongJae Park <sj@kernel.org>      168 Contact:        SeongJae Park <sj@kernel.org>
186 Description:    Writing to and reading from th    169 Description:    Writing to and reading from this file sets and gets the manimum
187                 'nr_accesses' of the scheme's     170                 'nr_accesses' of the scheme's target regions.
188                                                   171 
189 What:           /sys/kernel/mm/damon/admin/kda    172 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/nr_accesses/max
190 Date:           Mar 2022                          173 Date:           Mar 2022
191 Contact:        SeongJae Park <sj@kernel.org>      174 Contact:        SeongJae Park <sj@kernel.org>
192 Description:    Writing to and reading from th    175 Description:    Writing to and reading from this file sets and gets the maximum
193                 'nr_accesses' of the scheme's     176                 'nr_accesses' of the scheme's target regions.
194                                                   177 
195 What:           /sys/kernel/mm/damon/admin/kda    178 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/min
196 Date:           Mar 2022                          179 Date:           Mar 2022
197 Contact:        SeongJae Park <sj@kernel.org>      180 Contact:        SeongJae Park <sj@kernel.org>
198 Description:    Writing to and reading from th    181 Description:    Writing to and reading from this file sets and gets the minimum
199                 'age' of the scheme's target r    182                 'age' of the scheme's target regions.
200                                                   183 
201 What:           /sys/kernel/mm/damon/admin/kda    184 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/access_pattern/age/max
202 Date:           Mar 2022                          185 Date:           Mar 2022
203 Contact:        SeongJae Park <sj@kernel.org>      186 Contact:        SeongJae Park <sj@kernel.org>
204 Description:    Writing to and reading from th    187 Description:    Writing to and reading from this file sets and gets the maximum
205                 'age' of the scheme's target r    188                 'age' of the scheme's target regions.
206                                                   189 
207 What:           /sys/kernel/mm/damon/admin/kda    190 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/ms
208 Date:           Mar 2022                          191 Date:           Mar 2022
209 Contact:        SeongJae Park <sj@kernel.org>      192 Contact:        SeongJae Park <sj@kernel.org>
210 Description:    Writing to and reading from th    193 Description:    Writing to and reading from this file sets and gets the time
211                 quota of the scheme in millise    194                 quota of the scheme in milliseconds.
212                                                   195 
213 What:           /sys/kernel/mm/damon/admin/kda    196 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/bytes
214 Date:           Mar 2022                          197 Date:           Mar 2022
215 Contact:        SeongJae Park <sj@kernel.org>      198 Contact:        SeongJae Park <sj@kernel.org>
216 Description:    Writing to and reading from th    199 Description:    Writing to and reading from this file sets and gets the size
217                 quota of the scheme in bytes.     200                 quota of the scheme in bytes.
218                                                   201 
219 What:           /sys/kernel/mm/damon/admin/kda << 
220 Date:           Feb 2024                       << 
221 Contact:        SeongJae Park <sj@kernel.org>   << 
222 Description:    Reading from this file gets th << 
223                 scheme in bytes, which adjuste << 
224                                                << 
225 What:           /sys/kernel/mm/damon/admin/kda    202 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/reset_interval_ms
226 Date:           Mar 2022                          203 Date:           Mar 2022
227 Contact:        SeongJae Park <sj@kernel.org>      204 Contact:        SeongJae Park <sj@kernel.org>
228 Description:    Writing to and reading from th    205 Description:    Writing to and reading from this file sets and gets the quotas
229                 charge reset interval of the s    206                 charge reset interval of the scheme in milliseconds.
230                                                   207 
231 What:           /sys/kernel/mm/damon/admin/kda << 
232 Date:           Nov 2023                       << 
233 Contact:        SeongJae Park <sj@kernel.org>   << 
234 Description:    Writing a number 'N' to this f << 
235                 directories for setting automa << 
236                 aggressiveness named '0' to 'N << 
237                                                << 
238 What:           /sys/kernel/mm/damon/admin/kda << 
239 Date:           Feb 2024                       << 
240 Contact:        SeongJae Park <sj@kernel.org>   << 
241 Description:    Writing to and reading from th << 
242                 auto-tuning goal metric.       << 
243                                                << 
244 What:           /sys/kernel/mm/damon/admin/kda << 
245 Date:           Nov 2023                       << 
246 Contact:        SeongJae Park <sj@kernel.org>   << 
247 Description:    Writing to and reading from th << 
248                 value of the goal metric.      << 
249                                                << 
250 What:           /sys/kernel/mm/damon/admin/kda << 
251 Date:           Nov 2023                       << 
252 Contact:        SeongJae Park <sj@kernel.org>   << 
253 Description:    Writing to and reading from th << 
254                 value of the goal metric.      << 
255                                                << 
256 What:           /sys/kernel/mm/damon/admin/kda    208 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/sz_permil
257 Date:           Mar 2022                          209 Date:           Mar 2022
258 Contact:        SeongJae Park <sj@kernel.org>      210 Contact:        SeongJae Park <sj@kernel.org>
259 Description:    Writing to and reading from th    211 Description:    Writing to and reading from this file sets and gets the
260                 under-quota limit regions prio    212                 under-quota limit regions prioritization weight for 'size' in
261                 permil.                           213                 permil.
262                                                   214 
263 What:           /sys/kernel/mm/damon/admin/kda    215 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/nr_accesses_permil
264 Date:           Mar 2022                          216 Date:           Mar 2022
265 Contact:        SeongJae Park <sj@kernel.org>      217 Contact:        SeongJae Park <sj@kernel.org>
266 Description:    Writing to and reading from th    218 Description:    Writing to and reading from this file sets and gets the
267                 under-quota limit regions prio    219                 under-quota limit regions prioritization weight for
268                 'nr_accesses' in permil.          220                 'nr_accesses' in permil.
269                                                   221 
270 What:           /sys/kernel/mm/damon/admin/kda    222 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/quotas/weights/age_permil
271 Date:           Mar 2022                          223 Date:           Mar 2022
272 Contact:        SeongJae Park <sj@kernel.org>      224 Contact:        SeongJae Park <sj@kernel.org>
273 Description:    Writing to and reading from th    225 Description:    Writing to and reading from this file sets and gets the
274                 under-quota limit regions prio    226                 under-quota limit regions prioritization weight for 'age' in
275                 permil.                           227                 permil.
276                                                   228 
277 What:           /sys/kernel/mm/damon/admin/kda    229 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/metric
278 Date:           Mar 2022                          230 Date:           Mar 2022
279 Contact:        SeongJae Park <sj@kernel.org>      231 Contact:        SeongJae Park <sj@kernel.org>
280 Description:    Writing to and reading from th    232 Description:    Writing to and reading from this file sets and gets the metric
281                 of the watermarks for the sche    233                 of the watermarks for the scheme.  The writable/readable
282                 keywords for this file are 'no    234                 keywords for this file are 'none' for disabling the watermarks
283                 feature, or 'free_mem_rate' fo    235                 feature, or 'free_mem_rate' for the system's global free memory
284                 rate in permil.                   236                 rate in permil.
285                                                   237 
286 What:           /sys/kernel/mm/damon/admin/kda    238 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/interval_us
287 Date:           Mar 2022                          239 Date:           Mar 2022
288 Contact:        SeongJae Park <sj@kernel.org>      240 Contact:        SeongJae Park <sj@kernel.org>
289 Description:    Writing to and reading from th    241 Description:    Writing to and reading from this file sets and gets the metric
290                 check interval of the watermar    242                 check interval of the watermarks for the scheme in
291                 microseconds.                     243                 microseconds.
292                                                   244 
293 What:           /sys/kernel/mm/damon/admin/kda    245 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/high
294 Date:           Mar 2022                          246 Date:           Mar 2022
295 Contact:        SeongJae Park <sj@kernel.org>      247 Contact:        SeongJae Park <sj@kernel.org>
296 Description:    Writing to and reading from th    248 Description:    Writing to and reading from this file sets and gets the high
297                 watermark of the scheme in per    249                 watermark of the scheme in permil.
298                                                   250 
299 What:           /sys/kernel/mm/damon/admin/kda    251 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/mid
300 Date:           Mar 2022                          252 Date:           Mar 2022
301 Contact:        SeongJae Park <sj@kernel.org>      253 Contact:        SeongJae Park <sj@kernel.org>
302 Description:    Writing to and reading from th    254 Description:    Writing to and reading from this file sets and gets the mid
303                 watermark of the scheme in per    255                 watermark of the scheme in permil.
304                                                   256 
305 What:           /sys/kernel/mm/damon/admin/kda    257 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/watermarks/low
306 Date:           Mar 2022                          258 Date:           Mar 2022
307 Contact:        SeongJae Park <sj@kernel.org>      259 Contact:        SeongJae Park <sj@kernel.org>
308 Description:    Writing to and reading from th    260 Description:    Writing to and reading from this file sets and gets the low
309                 watermark of the scheme in per    261                 watermark of the scheme in permil.
310                                                   262 
311 What:           /sys/kernel/mm/damon/admin/kda    263 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/nr_filters
312 Date:           Dec 2022                          264 Date:           Dec 2022
313 Contact:        SeongJae Park <sj@kernel.org>      265 Contact:        SeongJae Park <sj@kernel.org>
314 Description:    Writing a number 'N' to this f    266 Description:    Writing a number 'N' to this file creates the number of
315                 directories for setting filter    267                 directories for setting filters of the scheme named '0' to
316                 'N-1' under the filters/ direc    268                 'N-1' under the filters/ directory.
317                                                   269 
318 What:           /sys/kernel/mm/damon/admin/kda    270 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/type
319 Date:           Dec 2022                          271 Date:           Dec 2022
320 Contact:        SeongJae Park <sj@kernel.org>      272 Contact:        SeongJae Park <sj@kernel.org>
321 Description:    Writing to and reading from th    273 Description:    Writing to and reading from this file sets and gets the type of
322                 the memory of the interest.  '    274                 the memory of the interest.  'anon' for anonymous pages,
323                 'memcg' for specific memory cg !! 275                 'memcg' for specific memory cgroup, 'addr' for address range
324                 'addr' for address range (an o !! 276                 (an open-ended interval), or 'target' for DAMON monitoring
325                 for DAMON monitoring target ca !! 277                 target can be written and read.
326                                                   278 
327 What:           /sys/kernel/mm/damon/admin/kda    279 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/memcg_path
328 Date:           Dec 2022                          280 Date:           Dec 2022
329 Contact:        SeongJae Park <sj@kernel.org>      281 Contact:        SeongJae Park <sj@kernel.org>
330 Description:    If 'memcg' is written to the '    282 Description:    If 'memcg' is written to the 'type' file, writing to and
331                 reading from this file sets an    283                 reading from this file sets and gets the path to the memory
332                 cgroup of the interest.           284                 cgroup of the interest.
333                                                   285 
334 What:           /sys/kernel/mm/damon/admin/kda    286 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/addr_start
335 Date:           Jul 2023                          287 Date:           Jul 2023
336 Contact:        SeongJae Park <sj@kernel.org>      288 Contact:        SeongJae Park <sj@kernel.org>
337 Description:    If 'addr' is written to the 't    289 Description:    If 'addr' is written to the 'type' file, writing to or reading
338                 from this file sets or gets th    290                 from this file sets or gets the start address of the address
339                 range for the filter.             291                 range for the filter.
340                                                   292 
341 What:           /sys/kernel/mm/damon/admin/kda    293 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/addr_end
342 Date:           Jul 2023                          294 Date:           Jul 2023
343 Contact:        SeongJae Park <sj@kernel.org>      295 Contact:        SeongJae Park <sj@kernel.org>
344 Description:    If 'addr' is written to the 't    296 Description:    If 'addr' is written to the 'type' file, writing to or reading
345                 from this file sets or gets th    297                 from this file sets or gets the end address of the address
346                 range for the filter.             298                 range for the filter.
347                                                   299 
348 What:           /sys/kernel/mm/damon/admin/kda    300 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/target_idx
349 Date:           Dec 2022                          301 Date:           Dec 2022
350 Contact:        SeongJae Park <sj@kernel.org>      302 Contact:        SeongJae Park <sj@kernel.org>
351 Description:    If 'target' is written to the     303 Description:    If 'target' is written to the 'type' file, writing to or
352                 reading from this file sets or    304                 reading from this file sets or gets the index of the DAMON
353                 monitoring target of the inter    305                 monitoring target of the interest.
354                                                   306 
355 What:           /sys/kernel/mm/damon/admin/kda    307 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/matching
356 Date:           Dec 2022                          308 Date:           Dec 2022
357 Contact:        SeongJae Park <sj@kernel.org>      309 Contact:        SeongJae Park <sj@kernel.org>
358 Description:    Writing 'Y' or 'N' to this fil    310 Description:    Writing 'Y' or 'N' to this file sets whether to filter out
359                 pages that do or do not match     311                 pages that do or do not match to the 'type' and 'memcg_path',
360                 respectively.  Filter out mean    312                 respectively.  Filter out means the action of the scheme will
361                 not be applied to.                313                 not be applied to.
362                                                   314 
363 What:           /sys/kernel/mm/damon/admin/kda    315 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_tried
364 Date:           Mar 2022                          316 Date:           Mar 2022
365 Contact:        SeongJae Park <sj@kernel.org>      317 Contact:        SeongJae Park <sj@kernel.org>
366 Description:    Reading this file returns the     318 Description:    Reading this file returns the number of regions that the action
367                 of the scheme has tried to be     319                 of the scheme has tried to be applied.
368                                                   320 
369 What:           /sys/kernel/mm/damon/admin/kda    321 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_tried
370 Date:           Mar 2022                          322 Date:           Mar 2022
371 Contact:        SeongJae Park <sj@kernel.org>      323 Contact:        SeongJae Park <sj@kernel.org>
372 Description:    Reading this file returns the     324 Description:    Reading this file returns the total size of regions that the
373                 action of the scheme has tried    325                 action of the scheme has tried to be applied in bytes.
374                                                   326 
375 What:           /sys/kernel/mm/damon/admin/kda    327 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/nr_applied
376 Date:           Mar 2022                          328 Date:           Mar 2022
377 Contact:        SeongJae Park <sj@kernel.org>      329 Contact:        SeongJae Park <sj@kernel.org>
378 Description:    Reading this file returns the     330 Description:    Reading this file returns the number of regions that the action
379                 of the scheme has successfully    331                 of the scheme has successfully applied.
380                                                   332 
381 What:           /sys/kernel/mm/damon/admin/kda    333 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/sz_applied
382 Date:           Mar 2022                          334 Date:           Mar 2022
383 Contact:        SeongJae Park <sj@kernel.org>      335 Contact:        SeongJae Park <sj@kernel.org>
384 Description:    Reading this file returns the     336 Description:    Reading this file returns the total size of regions that the
385                 action of the scheme has succe    337                 action of the scheme has successfully applied in bytes.
386                                                   338 
387 What:           /sys/kernel/mm/damon/admin/kda    339 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/stats/qt_exceeds
388 Date:           Mar 2022                          340 Date:           Mar 2022
389 Contact:        SeongJae Park <sj@kernel.org>      341 Contact:        SeongJae Park <sj@kernel.org>
390 Description:    Reading this file returns the     342 Description:    Reading this file returns the number of the exceed events of
391                 the scheme's quotas.              343                 the scheme's quotas.
392                                                   344 
393 What:           /sys/kernel/mm/damon/admin/kda    345 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/total_bytes
394 Date:           Jul 2023                          346 Date:           Jul 2023
395 Contact:        SeongJae Park <sj@kernel.org>      347 Contact:        SeongJae Park <sj@kernel.org>
396 Description:    Reading this file returns the     348 Description:    Reading this file returns the total amount of memory that
397                 corresponding DAMON-based Oper    349                 corresponding DAMON-based Operation Scheme's action has tried
398                 to be applied.                    350                 to be applied.
399                                                   351 
400 What:           /sys/kernel/mm/damon/admin/kda    352 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/start
401 Date:           Oct 2022                          353 Date:           Oct 2022
402 Contact:        SeongJae Park <sj@kernel.org>      354 Contact:        SeongJae Park <sj@kernel.org>
403 Description:    Reading this file returns the     355 Description:    Reading this file returns the start address of a memory region
404                 that corresponding DAMON-based    356                 that corresponding DAMON-based Operation Scheme's action has
405                 tried to be applied.              357                 tried to be applied.
406                                                   358 
407 What:           /sys/kernel/mm/damon/admin/kda    359 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/end
408 Date:           Oct 2022                          360 Date:           Oct 2022
409 Contact:        SeongJae Park <sj@kernel.org>      361 Contact:        SeongJae Park <sj@kernel.org>
410 Description:    Reading this file returns the     362 Description:    Reading this file returns the end address of a memory region
411                 that corresponding DAMON-based    363                 that corresponding DAMON-based Operation Scheme's action has
412                 tried to be applied.              364                 tried to be applied.
413                                                   365 
414 What:           /sys/kernel/mm/damon/admin/kda    366 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/nr_accesses
415 Date:           Oct 2022                          367 Date:           Oct 2022
416 Contact:        SeongJae Park <sj@kernel.org>      368 Contact:        SeongJae Park <sj@kernel.org>
417 Description:    Reading this file returns the     369 Description:    Reading this file returns the 'nr_accesses' of a memory region
418                 that corresponding DAMON-based    370                 that corresponding DAMON-based Operation Scheme's action has
419                 tried to be applied.              371                 tried to be applied.
420                                                   372 
421 What:           /sys/kernel/mm/damon/admin/kda    373 What:           /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/tried_regions/<R>/age
422 Date:           Oct 2022                          374 Date:           Oct 2022
423 Contact:        SeongJae Park <sj@kernel.org>      375 Contact:        SeongJae Park <sj@kernel.org>
424 Description:    Reading this file returns the     376 Description:    Reading this file returns the 'age' of a memory region that
425                 corresponding DAMON-based Oper    377                 corresponding DAMON-based Operation Scheme's action has tried
426                 to be applied.                    378                 to be applied.
                                                      

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