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

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-kernel-slab

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


  1 What:           /sys/kernel/slab                    1 What:           /sys/kernel/slab
  2 Date:           May 2007                            2 Date:           May 2007
  3 KernelVersion:  2.6.22                              3 KernelVersion:  2.6.22
  4 Contact:        Pekka Enberg <penberg@cs.helsin      4 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
  5                 Christoph Lameter <cl@linux-fou      5                 Christoph Lameter <cl@linux-foundation.org>
  6 Description:                                        6 Description:
  7                 The /sys/kernel/slab directory      7                 The /sys/kernel/slab directory contains a snapshot of the
  8                 internal state of the SLUB all      8                 internal state of the SLUB allocator for each cache.  Certain
  9                 files may be modified to chang      9                 files may be modified to change the behavior of the cache (and
 10                 any cache it aliases, if any).     10                 any cache it aliases, if any).
 11 Users:          kernel memory tuning tools         11 Users:          kernel memory tuning tools
 12                                                    12 
 13 What:           /sys/kernel/slab/<cache>/alias !!  13 What:           /sys/kernel/slab/cache/aliases
 14 Date:           May 2007                           14 Date:           May 2007
 15 KernelVersion:  2.6.22                             15 KernelVersion:  2.6.22
 16 Contact:        Pekka Enberg <penberg@cs.helsin     16 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
 17                 Christoph Lameter <cl@linux-fou     17                 Christoph Lameter <cl@linux-foundation.org>
 18 Description:                                       18 Description:
 19                 The aliases file is read-only      19                 The aliases file is read-only and specifies how many caches
 20                 have merged into this cache.       20                 have merged into this cache.
 21                                                    21 
 22 What:           /sys/kernel/slab/<cache>/align !!  22 What:           /sys/kernel/slab/cache/align
 23 Date:           May 2007                           23 Date:           May 2007
 24 KernelVersion:  2.6.22                             24 KernelVersion:  2.6.22
 25 Contact:        Pekka Enberg <penberg@cs.helsin     25 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
 26                 Christoph Lameter <cl@linux-fou     26                 Christoph Lameter <cl@linux-foundation.org>
 27 Description:                                       27 Description:
 28                 The align file is read-only an     28                 The align file is read-only and specifies the cache's object
 29                 alignment in bytes.                29                 alignment in bytes.
 30                                                    30 
 31 What:           /sys/kernel/slab/<cache>/alloc !!  31 What:           /sys/kernel/slab/cache/alloc_calls
 32 Date:           May 2007                           32 Date:           May 2007
 33 KernelVersion:  2.6.22                             33 KernelVersion:  2.6.22
 34 Contact:        Pekka Enberg <penberg@cs.helsin     34 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
 35                 Christoph Lameter <cl@linux-fou     35                 Christoph Lameter <cl@linux-foundation.org>
 36 Description:                                       36 Description:
 37                 The alloc_calls file is read-o     37                 The alloc_calls file is read-only and lists the kernel code
 38                 locations from which allocatio     38                 locations from which allocations for this cache were performed.
 39                 The alloc_calls file only cont     39                 The alloc_calls file only contains information if debugging is
 40                 enabled for that cache (see Do !!  40                 enabled for that cache (see Documentation/vm/slub.txt).
 41                                                    41 
 42 What:           /sys/kernel/slab/<cache>/alloc !!  42 What:           /sys/kernel/slab/cache/alloc_fastpath
 43 Date:           February 2008                      43 Date:           February 2008
 44 KernelVersion:  2.6.25                             44 KernelVersion:  2.6.25
 45 Contact:        Pekka Enberg <penberg@cs.helsin     45 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
 46                 Christoph Lameter <cl@linux-fou     46                 Christoph Lameter <cl@linux-foundation.org>
 47 Description:                                       47 Description:
 48                 The alloc_fastpath file shows  !!  48                 The alloc_fastpath file is read-only and specifies how many
 49                 allocated using the fast path. !!  49                 objects have been allocated using the fast path.
 50                 current count.                 << 
 51                 Available when CONFIG_SLUB_STA     50                 Available when CONFIG_SLUB_STATS is enabled.
 52                                                    51 
 53 What:           /sys/kernel/slab/<cache>/alloc !!  52 What:           /sys/kernel/slab/cache/alloc_from_partial
 54 Date:           February 2008                      53 Date:           February 2008
 55 KernelVersion:  2.6.25                             54 KernelVersion:  2.6.25
 56 Contact:        Pekka Enberg <penberg@cs.helsin     55 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
 57                 Christoph Lameter <cl@linux-fou     56                 Christoph Lameter <cl@linux-foundation.org>
 58 Description:                                       57 Description:
 59                 The alloc_from_partial file sh !!  58                 The alloc_from_partial file is read-only and specifies how
 60                 been full and it has been refi !!  59                 many times a cpu slab has been full and it has been refilled
 61                 of partially used slabs.  It c !!  60                 by using a slab from the list of partially used slabs.
 62                 count.                         << 
 63                 Available when CONFIG_SLUB_STA     61                 Available when CONFIG_SLUB_STATS is enabled.
 64                                                    62 
 65 What:           /sys/kernel/slab/<cache>/alloc !!  63 What:           /sys/kernel/slab/cache/alloc_refill
 66 Date:           February 2008                      64 Date:           February 2008
 67 KernelVersion:  2.6.25                             65 KernelVersion:  2.6.25
 68 Contact:        Pekka Enberg <penberg@cs.helsin     66 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
 69                 Christoph Lameter <cl@linux-fou     67                 Christoph Lameter <cl@linux-foundation.org>
 70 Description:                                       68 Description:
 71                 The alloc_refill file shows ho !!  69                 The alloc_refill file is read-only and specifies how many
 72                 was empty but there were objec !!  70                 times the per-cpu freelist was empty but there were objects
 73                 remote cpu frees.  It can be w !!  71                 available as the result of remote cpu frees.
 74                 Available when CONFIG_SLUB_STA     72                 Available when CONFIG_SLUB_STATS is enabled.
 75                                                    73 
 76 What:           /sys/kernel/slab/<cache>/alloc !!  74 What:           /sys/kernel/slab/cache/alloc_slab
 77 Date:           February 2008                      75 Date:           February 2008
 78 KernelVersion:  2.6.25                             76 KernelVersion:  2.6.25
 79 Contact:        Pekka Enberg <penberg@cs.helsin     77 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
 80                 Christoph Lameter <cl@linux-fou     78                 Christoph Lameter <cl@linux-foundation.org>
 81 Description:                                       79 Description:
 82                 The alloc_slab file is shows h !!  80                 The alloc_slab file is read-only and specifies how many times
 83                 be allocated from the page all !!  81                 a new slab had to be allocated from the page allocator.
 84                 clear the current count.       << 
 85                 Available when CONFIG_SLUB_STA     82                 Available when CONFIG_SLUB_STATS is enabled.
 86                                                    83 
 87 What:           /sys/kernel/slab/<cache>/alloc !!  84 What:           /sys/kernel/slab/cache/alloc_slowpath
 88 Date:           February 2008                      85 Date:           February 2008
 89 KernelVersion:  2.6.25                             86 KernelVersion:  2.6.25
 90 Contact:        Pekka Enberg <penberg@cs.helsin     87 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
 91                 Christoph Lameter <cl@linux-fou     88                 Christoph Lameter <cl@linux-foundation.org>
 92 Description:                                       89 Description:
 93                 The alloc_slowpath file shows  !!  90                 The alloc_slowpath file is read-only and specifies how many
 94                 allocated using the slow path  !!  91                 objects have been allocated using the slow path because of a
 95                 allocation from a partial or n !!  92                 refill or allocation from a partial or new slab.
 96                 clear the current count.       << 
 97                 Available when CONFIG_SLUB_STA     93                 Available when CONFIG_SLUB_STATS is enabled.
 98                                                    94 
 99 What:           /sys/kernel/slab/<cache>/cache !!  95 What:           /sys/kernel/slab/cache/cache_dma
100 Date:           May 2007                           96 Date:           May 2007
101 KernelVersion:  2.6.22                             97 KernelVersion:  2.6.22
102 Contact:        Pekka Enberg <penberg@cs.helsin     98 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
103                 Christoph Lameter <cl@linux-fou     99                 Christoph Lameter <cl@linux-foundation.org>
104 Description:                                      100 Description:
105                 The cache_dma file is read-onl    101                 The cache_dma file is read-only and specifies whether objects
106                 are from ZONE_DMA.                102                 are from ZONE_DMA.
107                 Available when CONFIG_ZONE_DMA    103                 Available when CONFIG_ZONE_DMA is enabled.
108                                                   104 
109 What:           /sys/kernel/slab/<cache>/cpu_s !! 105 What:           /sys/kernel/slab/cache/cpu_slabs
110 Date:           May 2007                          106 Date:           May 2007
111 KernelVersion:  2.6.22                            107 KernelVersion:  2.6.22
112 Contact:        Pekka Enberg <penberg@cs.helsin    108 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
113                 Christoph Lameter <cl@linux-fou    109                 Christoph Lameter <cl@linux-foundation.org>
114 Description:                                      110 Description:
115                 The cpu_slabs file is read-onl    111                 The cpu_slabs file is read-only and displays how many cpu slabs
116                 are active and their NUMA loca    112                 are active and their NUMA locality.
117                                                   113 
118 What:           /sys/kernel/slab/<cache>/cpusl !! 114 What:           /sys/kernel/slab/cache/cpuslab_flush
119 Date:           April 2009                        115 Date:           April 2009
120 KernelVersion:  2.6.31                            116 KernelVersion:  2.6.31
121 Contact:        Pekka Enberg <penberg@cs.helsin    117 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
122                 Christoph Lameter <cl@linux-fou    118                 Christoph Lameter <cl@linux-foundation.org>
123 Description:                                      119 Description:
124                 The file cpuslab_flush shows h !! 120                 The file cpuslab_flush is read-only and specifies how many
125                 have been flushed as the resul !! 121                 times a cache's cpu slabs have been flushed as the result of
126                 cache, a cpu going offline, or !! 122                 destroying or shrinking a cache, a cpu going offline, or as
127                 allocation from a certain node !! 123                 the result of forcing an allocation from a certain node.
128                 current count.                 << 
129                 Available when CONFIG_SLUB_STA    124                 Available when CONFIG_SLUB_STATS is enabled.
130                                                   125 
131 What:           /sys/kernel/slab/<cache>/ctor  !! 126 What:           /sys/kernel/slab/cache/ctor
132 Date:           May 2007                          127 Date:           May 2007
133 KernelVersion:  2.6.22                            128 KernelVersion:  2.6.22
134 Contact:        Pekka Enberg <penberg@cs.helsin    129 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
135                 Christoph Lameter <cl@linux-fou    130                 Christoph Lameter <cl@linux-foundation.org>
136 Description:                                      131 Description:
137                 The ctor file is read-only and    132                 The ctor file is read-only and specifies the cache's object
138                 constructor function, which is    133                 constructor function, which is invoked for each object when a
139                 new slab is allocated.            134                 new slab is allocated.
140                                                   135 
141 What:           /sys/kernel/slab/<cache>/deact !! 136 What:           /sys/kernel/slab/cache/deactivate_empty
142 Date:           February 2008                     137 Date:           February 2008
143 KernelVersion:  2.6.25                            138 KernelVersion:  2.6.25
144 Contact:        Pekka Enberg <penberg@cs.helsin    139 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
145                 Christoph Lameter <cl@linux-fou    140                 Christoph Lameter <cl@linux-foundation.org>
146 Description:                                      141 Description:
147                 The deactivate_empty file show !! 142                 The file deactivate_empty is read-only and specifies how many
148                 was deactivated.  It can be wr !! 143                 times an empty cpu slab was deactivated.
149                 Available when CONFIG_SLUB_STA    144                 Available when CONFIG_SLUB_STATS is enabled.
150                                                   145 
151 What:           /sys/kernel/slab/<cache>/deact !! 146 What:           /sys/kernel/slab/cache/deactivate_full
152 Date:           February 2008                     147 Date:           February 2008
153 KernelVersion:  2.6.25                            148 KernelVersion:  2.6.25
154 Contact:        Pekka Enberg <penberg@cs.helsin    149 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
155                 Christoph Lameter <cl@linux-fou    150                 Christoph Lameter <cl@linux-foundation.org>
156 Description:                                      151 Description:
157                 The deactivate_full file shows !! 152                 The file deactivate_full is read-only and specifies how many
158                 was deactivated.  It can be wr !! 153                 times a full cpu slab was deactivated.
159                 Available when CONFIG_SLUB_STA    154                 Available when CONFIG_SLUB_STATS is enabled.
160                                                   155 
161 What:           /sys/kernel/slab/<cache>/deact !! 156 What:           /sys/kernel/slab/cache/deactivate_remote_frees
162 Date:           February 2008                     157 Date:           February 2008
163 KernelVersion:  2.6.25                            158 KernelVersion:  2.6.25
164 Contact:        Pekka Enberg <penberg@cs.helsin    159 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
165                 Christoph Lameter <cl@linux-fou    160                 Christoph Lameter <cl@linux-foundation.org>
166 Description:                                      161 Description:
167                 The deactivate_remote_frees fi !! 162                 The file deactivate_remote_frees is read-only and specifies how
168                 has been deactivated and conta !! 163                 many times a cpu slab has been deactivated and contained free
169                 remotely.  It can be written t !! 164                 objects that were freed remotely.
170                 Available when CONFIG_SLUB_STA    165                 Available when CONFIG_SLUB_STATS is enabled.
171                                                   166 
172 What:           /sys/kernel/slab/<cache>/deact !! 167 What:           /sys/kernel/slab/cache/deactivate_to_head
173 Date:           February 2008                     168 Date:           February 2008
174 KernelVersion:  2.6.25                            169 KernelVersion:  2.6.25
175 Contact:        Pekka Enberg <penberg@cs.helsin    170 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
176                 Christoph Lameter <cl@linux-fou    171                 Christoph Lameter <cl@linux-foundation.org>
177 Description:                                      172 Description:
178                 The deactivate_to_head file sh !! 173                 The file deactivate_to_head is read-only and specifies how
179                 slab was deactivated and added !! 174                 many times a partial cpu slab was deactivated and added to the
180                 list.  It can be written to cl !! 175                 head of its node's partial list.
181                 Available when CONFIG_SLUB_STA    176                 Available when CONFIG_SLUB_STATS is enabled.
182                                                   177 
183 What:           /sys/kernel/slab/<cache>/deact !! 178 What:           /sys/kernel/slab/cache/deactivate_to_tail
184 Date:           February 2008                     179 Date:           February 2008
185 KernelVersion:  2.6.25                            180 KernelVersion:  2.6.25
186 Contact:        Pekka Enberg <penberg@cs.helsin    181 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
187                 Christoph Lameter <cl@linux-fou    182                 Christoph Lameter <cl@linux-foundation.org>
188 Description:                                      183 Description:
189                 The deactivate_to_tail file sh !! 184                 The file deactivate_to_tail is read-only and specifies how
190                 slab was deactivated and added !! 185                 many times a partial cpu slab was deactivated and added to the
191                 list.  It can be written to cl !! 186                 tail of its node's partial list.
192                 Available when CONFIG_SLUB_STA    187                 Available when CONFIG_SLUB_STATS is enabled.
193                                                   188 
194 What:           /sys/kernel/slab/<cache>/destr !! 189 What:           /sys/kernel/slab/cache/destroy_by_rcu
195 Date:           May 2007                          190 Date:           May 2007
196 KernelVersion:  2.6.22                            191 KernelVersion:  2.6.22
197 Contact:        Pekka Enberg <penberg@cs.helsin    192 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
198                 Christoph Lameter <cl@linux-fou    193                 Christoph Lameter <cl@linux-foundation.org>
199 Description:                                      194 Description:
200                 The destroy_by_rcu file is rea    195                 The destroy_by_rcu file is read-only and specifies whether
201                 slabs (not objects) are freed     196                 slabs (not objects) are freed by rcu.
202                                                   197 
203 What:           /sys/kernel/slab/<cache>/free_ !! 198 What:           /sys/kernel/slab/cache/free_add_partial
204 Date:           February 2008                     199 Date:           February 2008
205 KernelVersion:  2.6.25                            200 KernelVersion:  2.6.25
206 Contact:        Pekka Enberg <penberg@cs.helsin    201 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
207                 Christoph Lameter <cl@linux-fou    202                 Christoph Lameter <cl@linux-foundation.org>
208 Description:                                      203 Description:
209                 The free_add_partial file show !! 204                 The file free_add_partial is read-only and specifies how many
210                 been freed in a full slab so t !! 205                 times an object has been freed in a full slab so that it had to
211                 partial list.  It can be writt !! 206                 added to its node's partial list.
212                 Available when CONFIG_SLUB_STA    207                 Available when CONFIG_SLUB_STATS is enabled.
213                                                   208 
214 What:           /sys/kernel/slab/<cache>/free_ !! 209 What:           /sys/kernel/slab/cache/free_calls
215 Date:           May 2007                          210 Date:           May 2007
216 KernelVersion:  2.6.22                            211 KernelVersion:  2.6.22
217 Contact:        Pekka Enberg <penberg@cs.helsin    212 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
218                 Christoph Lameter <cl@linux-fou    213                 Christoph Lameter <cl@linux-foundation.org>
219 Description:                                      214 Description:
220                 The free_calls file is read-on    215                 The free_calls file is read-only and lists the locations of
221                 object frees if slab debugging    216                 object frees if slab debugging is enabled (see
222                 Documentation/mm/slub.rst).    !! 217                 Documentation/vm/slub.txt).
223                                                   218 
224 What:           /sys/kernel/slab/<cache>/free_ !! 219 What:           /sys/kernel/slab/cache/free_fastpath
225 Date:           February 2008                     220 Date:           February 2008
226 KernelVersion:  2.6.25                            221 KernelVersion:  2.6.25
227 Contact:        Pekka Enberg <penberg@cs.helsin    222 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
228                 Christoph Lameter <cl@linux-fou    223                 Christoph Lameter <cl@linux-foundation.org>
229 Description:                                      224 Description:
230                 The free_fastpath file shows h !! 225                 The free_fastpath file is read-only and specifies how many
231                 using the fast path because it !! 226                 objects have been freed using the fast path because it was an
232                 It can be written to clear the !! 227                 object from the cpu slab.
233                 Available when CONFIG_SLUB_STA    228                 Available when CONFIG_SLUB_STATS is enabled.
234                                                   229 
235 What:           /sys/kernel/slab/<cache>/free_ !! 230 What:           /sys/kernel/slab/cache/free_frozen
236 Date:           February 2008                     231 Date:           February 2008
237 KernelVersion:  2.6.25                            232 KernelVersion:  2.6.25
238 Contact:        Pekka Enberg <penberg@cs.helsin    233 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
239                 Christoph Lameter <cl@linux-fou    234                 Christoph Lameter <cl@linux-foundation.org>
240 Description:                                      235 Description:
241                 The free_frozen file shows how !! 236                 The free_frozen file is read-only and specifies how many
242                 a frozen slab (i.e. a remote c !! 237                 objects have been freed to a frozen slab (i.e. a remote cpu
243                 clear the current count.       !! 238                 slab).
244                 Available when CONFIG_SLUB_STA    239                 Available when CONFIG_SLUB_STATS is enabled.
245                                                   240 
246 What:           /sys/kernel/slab/<cache>/free_ !! 241 What:           /sys/kernel/slab/cache/free_remove_partial
247 Date:           February 2008                     242 Date:           February 2008
248 KernelVersion:  2.6.25                            243 KernelVersion:  2.6.25
249 Contact:        Pekka Enberg <penberg@cs.helsin    244 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
250                 Christoph Lameter <cl@linux-fou    245                 Christoph Lameter <cl@linux-foundation.org>
251 Description:                                      246 Description:
252                 The free_remove_partial file s !! 247                 The file free_remove_partial is read-only and specifies how
253                 been freed to a now-empty slab !! 248                 many times an object has been freed to a now-empty slab so
254                 its node's partial list.  It c !! 249                 that it had to be removed from its node's partial list.
255                 count.                         << 
256                 Available when CONFIG_SLUB_STA    250                 Available when CONFIG_SLUB_STATS is enabled.
257                                                   251 
258 What:           /sys/kernel/slab/<cache>/free_ !! 252 What:           /sys/kernel/slab/cache/free_slab
259 Date:           February 2008                     253 Date:           February 2008
260 KernelVersion:  2.6.25                            254 KernelVersion:  2.6.25
261 Contact:        Pekka Enberg <penberg@cs.helsin    255 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
262                 Christoph Lameter <cl@linux-fou    256                 Christoph Lameter <cl@linux-foundation.org>
263 Description:                                      257 Description:
264                 The free_slab file shows how m !! 258                 The free_slab file is read-only and specifies how many times an
265                 freed back to the page allocat !! 259                 empty slab has been freed back to the page allocator.
266                 the current count.             << 
267                 Available when CONFIG_SLUB_STA    260                 Available when CONFIG_SLUB_STATS is enabled.
268                                                   261 
269 What:           /sys/kernel/slab/<cache>/free_ !! 262 What:           /sys/kernel/slab/cache/free_slowpath
270 Date:           February 2008                     263 Date:           February 2008
271 KernelVersion:  2.6.25                            264 KernelVersion:  2.6.25
272 Contact:        Pekka Enberg <penberg@cs.helsin    265 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
273                 Christoph Lameter <cl@linux-fou    266                 Christoph Lameter <cl@linux-foundation.org>
274 Description:                                      267 Description:
275                 The free_slowpath file shows h !! 268                 The free_slowpath file is read-only and specifies how many
276                 using the slow path (i.e. to a !! 269                 objects have been freed using the slow path (i.e. to a full or
277                 be written to clear the curren !! 270                 partial slab).
278                 Available when CONFIG_SLUB_STA    271                 Available when CONFIG_SLUB_STATS is enabled.
279                                                   272 
280 What:           /sys/kernel/slab/<cache>/hwcac !! 273 What:           /sys/kernel/slab/cache/hwcache_align
281 Date:           May 2007                          274 Date:           May 2007
282 KernelVersion:  2.6.22                            275 KernelVersion:  2.6.22
283 Contact:        Pekka Enberg <penberg@cs.helsin    276 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
284                 Christoph Lameter <cl@linux-fou    277                 Christoph Lameter <cl@linux-foundation.org>
285 Description:                                      278 Description:
286                 The hwcache_align file is read    279                 The hwcache_align file is read-only and specifies whether
287                 objects are aligned on cacheli    280                 objects are aligned on cachelines.
288                                                   281 
289 What:           /sys/kernel/slab/<cache>/min_p !! 282 What:           /sys/kernel/slab/cache/min_partial
290 Date:           February 2009                     283 Date:           February 2009
291 KernelVersion:  2.6.30                            284 KernelVersion:  2.6.30
292 Contact:        Pekka Enberg <penberg@cs.helsin    285 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
293                 David Rientjes <rientjes@google    286                 David Rientjes <rientjes@google.com>
294 Description:                                      287 Description:
295                 The min_partial file specifies    288                 The min_partial file specifies how many empty slabs shall
296                 remain on a node's partial lis    289                 remain on a node's partial list to avoid the overhead of
297                 allocating new slabs.  Such sl    290                 allocating new slabs.  Such slabs may be reclaimed by utilizing
298                 the shrink file.                  291                 the shrink file.
299                                                   292 
300 What:           /sys/kernel/slab/<cache>/objec !! 293 What:           /sys/kernel/slab/cache/object_size
301 Date:           May 2007                          294 Date:           May 2007
302 KernelVersion:  2.6.22                            295 KernelVersion:  2.6.22
303 Contact:        Pekka Enberg <penberg@cs.helsin    296 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
304                 Christoph Lameter <cl@linux-fou    297                 Christoph Lameter <cl@linux-foundation.org>
305 Description:                                      298 Description:
306                 The object_size file is read-o    299                 The object_size file is read-only and specifies the cache's
307                 object size.                      300                 object size.
308                                                   301 
309 What:           /sys/kernel/slab/<cache>/objec !! 302 What:           /sys/kernel/slab/cache/objects
310 Date:           May 2007                          303 Date:           May 2007
311 KernelVersion:  2.6.22                            304 KernelVersion:  2.6.22
312 Contact:        Pekka Enberg <penberg@cs.helsin    305 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
313                 Christoph Lameter <cl@linux-fou    306                 Christoph Lameter <cl@linux-foundation.org>
314 Description:                                      307 Description:
315                 The objects file is read-only     308                 The objects file is read-only and displays how many objects are
316                 active and from which nodes th    309                 active and from which nodes they are from.
317                                                   310 
318 What:           /sys/kernel/slab/<cache>/objec !! 311 What:           /sys/kernel/slab/cache/objects_partial
319 Date:           April 2008                        312 Date:           April 2008
320 KernelVersion:  2.6.26                            313 KernelVersion:  2.6.26
321 Contact:        Pekka Enberg <penberg@cs.helsin    314 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
322                 Christoph Lameter <cl@linux-fou    315                 Christoph Lameter <cl@linux-foundation.org>
323 Description:                                      316 Description:
324                 The objects_partial file is re    317                 The objects_partial file is read-only and displays how many
325                 objects are on partial slabs a    318                 objects are on partial slabs and from which nodes they are
326                 from.                             319                 from.
327                                                   320 
328 What:           /sys/kernel/slab/<cache>/objs_ !! 321 What:           /sys/kernel/slab/cache/objs_per_slab
329 Date:           May 2007                          322 Date:           May 2007
330 KernelVersion:  2.6.22                            323 KernelVersion:  2.6.22
331 Contact:        Pekka Enberg <penberg@cs.helsin    324 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
332                 Christoph Lameter <cl@linux-fou    325                 Christoph Lameter <cl@linux-foundation.org>
333 Description:                                      326 Description:
334                 The file objs_per_slab is read    327                 The file objs_per_slab is read-only and specifies how many
335                 objects may be allocated from     328                 objects may be allocated from a single slab of the order
336                 specified in /sys/kernel/slab/ !! 329                 specified in /sys/kernel/slab/cache/order.
337                                                   330 
338 What:           /sys/kernel/slab/<cache>/order !! 331 What:           /sys/kernel/slab/cache/order
339 Date:           May 2007                          332 Date:           May 2007
340 KernelVersion:  2.6.22                            333 KernelVersion:  2.6.22
341 Contact:        Pekka Enberg <penberg@cs.helsin    334 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
342                 Christoph Lameter <cl@linux-fou    335                 Christoph Lameter <cl@linux-foundation.org>
343 Description:                                      336 Description:
344                 The order file specifies the p    337                 The order file specifies the page order at which new slabs are
345                 allocated.  It is writable and    338                 allocated.  It is writable and can be changed to increase the
346                 number of objects per slab.  I    339                 number of objects per slab.  If a slab cannot be allocated
347                 because of fragmentation, SLUB    340                 because of fragmentation, SLUB will retry with the minimum order
348                 possible depending on its char    341                 possible depending on its characteristics.
349                                                   342 
350                 When debug_guardpage_minorder= !! 343 What:           /sys/kernel/slab/cache/order_fallback
351                 (see Documentation/admin-guide << 
352                 order is used and this sysfs e << 
353                 the order at run time.         << 
354                                                << 
355 What:           /sys/kernel/slab/<cache>/order << 
356 Date:           April 2008                        344 Date:           April 2008
357 KernelVersion:  2.6.26                            345 KernelVersion:  2.6.26
358 Contact:        Pekka Enberg <penberg@cs.helsin    346 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
359                 Christoph Lameter <cl@linux-fou    347                 Christoph Lameter <cl@linux-foundation.org>
360 Description:                                      348 Description:
361                 The order_fallback file shows  !! 349                 The file order_fallback is read-only and specifies how many
362                 new slab has not been possible !! 350                 times an allocation of a new slab has not been possible at the
363                 fallen back to its minimum pos !! 351                 cache's order and instead fallen back to its minimum possible
364                 clear the current count.       !! 352                 order.
365                                                << 
366                 Available when CONFIG_SLUB_STA    353                 Available when CONFIG_SLUB_STATS is enabled.
367                                                   354 
368 What:           /sys/kernel/slab/<cache>/parti !! 355 What:           /sys/kernel/slab/cache/partial
369 Date:           May 2007                          356 Date:           May 2007
370 KernelVersion:  2.6.22                            357 KernelVersion:  2.6.22
371 Contact:        Pekka Enberg <penberg@cs.helsin    358 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
372                 Christoph Lameter <cl@linux-fou    359                 Christoph Lameter <cl@linux-foundation.org>
373 Description:                                      360 Description:
374                 The partial file is read-only     361                 The partial file is read-only and displays how long many
375                 partial slabs there are and ho    362                 partial slabs there are and how long each node's list is.
376                                                   363 
377 What:           /sys/kernel/slab/<cache>/poiso !! 364 What:           /sys/kernel/slab/cache/poison
378 Date:           May 2007                          365 Date:           May 2007
379 KernelVersion:  2.6.22                            366 KernelVersion:  2.6.22
380 Contact:        Pekka Enberg <penberg@cs.helsin    367 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
381                 Christoph Lameter <cl@linux-fou    368                 Christoph Lameter <cl@linux-foundation.org>
382 Description:                                      369 Description:
383                 The poison file specifies whet    370                 The poison file specifies whether objects should be poisoned
384                 when a new slab is allocated.     371                 when a new slab is allocated.
385                                                   372 
386 What:           /sys/kernel/slab/<cache>/recla !! 373 What:           /sys/kernel/slab/cache/reclaim_account
387 Date:           May 2007                          374 Date:           May 2007
388 KernelVersion:  2.6.22                            375 KernelVersion:  2.6.22
389 Contact:        Pekka Enberg <penberg@cs.helsin    376 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
390                 Christoph Lameter <cl@linux-fou    377                 Christoph Lameter <cl@linux-foundation.org>
391 Description:                                      378 Description:
392                 The reclaim_account file speci    379                 The reclaim_account file specifies whether the cache's objects
393                 are reclaimable (and grouped b    380                 are reclaimable (and grouped by their mobility).
394                                                   381 
395 What:           /sys/kernel/slab/<cache>/red_z !! 382 What:           /sys/kernel/slab/cache/red_zone
396 Date:           May 2007                          383 Date:           May 2007
397 KernelVersion:  2.6.22                            384 KernelVersion:  2.6.22
398 Contact:        Pekka Enberg <penberg@cs.helsin    385 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
399                 Christoph Lameter <cl@linux-fou    386                 Christoph Lameter <cl@linux-foundation.org>
400 Description:                                      387 Description:
401                 The red_zone file specifies wh    388                 The red_zone file specifies whether the cache's objects are red
402                 zoned.                            389                 zoned.
403                                                   390 
404 What:           /sys/kernel/slab/<cache>/remot !! 391 What:           /sys/kernel/slab/cache/remote_node_defrag_ratio
405 Date:           January 2008                      392 Date:           January 2008
406 KernelVersion:  2.6.25                            393 KernelVersion:  2.6.25
407 Contact:        Pekka Enberg <penberg@cs.helsin    394 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
408                 Christoph Lameter <cl@linux-fou    395                 Christoph Lameter <cl@linux-foundation.org>
409 Description:                                      396 Description:
410                 The file remote_node_defrag_ra    397                 The file remote_node_defrag_ratio specifies the percentage of
411                 times SLUB will attempt to ref    398                 times SLUB will attempt to refill the cpu slab with a partial
412                 slab from a remote node as opp    399                 slab from a remote node as opposed to allocating a new slab on
413                 the local node.  This reduces     400                 the local node.  This reduces the amount of wasted memory over
414                 the entire system but can be e    401                 the entire system but can be expensive.
415                                                << 
416                 Available when CONFIG_NUMA is     402                 Available when CONFIG_NUMA is enabled.
417                                                   403 
418 What:           /sys/kernel/slab/<cache>/sanit !! 404 What:           /sys/kernel/slab/cache/sanity_checks
419 Date:           May 2007                          405 Date:           May 2007
420 KernelVersion:  2.6.22                            406 KernelVersion:  2.6.22
421 Contact:        Pekka Enberg <penberg@cs.helsin    407 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
422                 Christoph Lameter <cl@linux-fou    408                 Christoph Lameter <cl@linux-foundation.org>
423 Description:                                      409 Description:
424                 The sanity_checks file specifi    410                 The sanity_checks file specifies whether expensive checks
425                 should be performed on free an    411                 should be performed on free and, at minimum, enables double free
426                 checks.  Caches that enable sa    412                 checks.  Caches that enable sanity_checks cannot be merged with
427                 caches that do not.               413                 caches that do not.
428                                                   414 
429 What:           /sys/kernel/slab/<cache>/shrin !! 415 What:           /sys/kernel/slab/cache/shrink
430 Date:           May 2007                          416 Date:           May 2007
431 KernelVersion:  2.6.22                            417 KernelVersion:  2.6.22
432 Contact:        Pekka Enberg <penberg@cs.helsin    418 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
433                 Christoph Lameter <cl@linux-fou    419                 Christoph Lameter <cl@linux-foundation.org>
434 Description:                                      420 Description:
435                 The shrink file is used to rec !! 421                 The shrink file is written when memory should be reclaimed from
436                 memory from a cache.  Empty pe !! 422                 a cache.  Empty partial slabs are freed and the partial list is
437                 are freed and the partial list !! 423                 sorted so the slabs with the fewest available objects are used
438                 with the fewest available obje !! 424                 first.
439                 It only accepts a value of "1" << 
440                 the cache. Other input values  << 
441                 Shrinking slab caches might be << 
442                 adversely impact other running << 
443                 should be used with care.      << 
444                                                   425 
445 What:           /sys/kernel/slab/<cache>/slab_ !! 426 What:           /sys/kernel/slab/cache/slab_size
446 Date:           May 2007                          427 Date:           May 2007
447 KernelVersion:  2.6.22                            428 KernelVersion:  2.6.22
448 Contact:        Pekka Enberg <penberg@cs.helsin    429 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
449                 Christoph Lameter <cl@linux-fou    430                 Christoph Lameter <cl@linux-foundation.org>
450 Description:                                      431 Description:
451                 The slab_size file is read-onl    432                 The slab_size file is read-only and specifies the object size
452                 with metadata (debugging infor    433                 with metadata (debugging information and alignment) in bytes.
453                                                   434 
454 What:           /sys/kernel/slab/<cache>/slabs !! 435 What:           /sys/kernel/slab/cache/slabs
455 Date:           May 2007                          436 Date:           May 2007
456 KernelVersion:  2.6.22                            437 KernelVersion:  2.6.22
457 Contact:        Pekka Enberg <penberg@cs.helsin    438 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
458                 Christoph Lameter <cl@linux-fou    439                 Christoph Lameter <cl@linux-foundation.org>
459 Description:                                      440 Description:
460                 The slabs file is read-only an    441                 The slabs file is read-only and displays how long many slabs
461                 there are (both cpu and partia    442                 there are (both cpu and partial) and from which nodes they are
462                 from.                             443                 from.
463                                                   444 
464 What:           /sys/kernel/slab/<cache>/store !! 445 What:           /sys/kernel/slab/cache/store_user
465 Date:           May 2007                          446 Date:           May 2007
466 KernelVersion:  2.6.22                            447 KernelVersion:  2.6.22
467 Contact:        Pekka Enberg <penberg@cs.helsin    448 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
468                 Christoph Lameter <cl@linux-fou    449                 Christoph Lameter <cl@linux-foundation.org>
469 Description:                                      450 Description:
470                 The store_user file specifies     451                 The store_user file specifies whether the location of
471                 allocation or free should be t    452                 allocation or free should be tracked for a cache.
472                                                   453 
473 What:           /sys/kernel/slab/<cache>/total !! 454 What:           /sys/kernel/slab/cache/total_objects
474 Date:           April 2008                        455 Date:           April 2008
475 KernelVersion:  2.6.26                            456 KernelVersion:  2.6.26
476 Contact:        Pekka Enberg <penberg@cs.helsin    457 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
477                 Christoph Lameter <cl@linux-fou    458                 Christoph Lameter <cl@linux-foundation.org>
478 Description:                                      459 Description:
479                 The total_objects file is read    460                 The total_objects file is read-only and displays how many total
480                 objects a cache has and from w    461                 objects a cache has and from which nodes they are from.
481                                                   462 
482 What:           /sys/kernel/slab/<cache>/trace !! 463 What:           /sys/kernel/slab/cache/trace
483 Date:           May 2007                          464 Date:           May 2007
484 KernelVersion:  2.6.22                            465 KernelVersion:  2.6.22
485 Contact:        Pekka Enberg <penberg@cs.helsin    466 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
486                 Christoph Lameter <cl@linux-fou    467                 Christoph Lameter <cl@linux-foundation.org>
487 Description:                                      468 Description:
488                 The trace file specifies wheth    469                 The trace file specifies whether object allocations and frees
489                 should be traced.                 470                 should be traced.
490                                                   471 
491 What:           /sys/kernel/slab/<cache>/valid !! 472 What:           /sys/kernel/slab/cache/validate
492 Date:           May 2007                          473 Date:           May 2007
493 KernelVersion:  2.6.22                            474 KernelVersion:  2.6.22
494 Contact:        Pekka Enberg <penberg@cs.helsin    475 Contact:        Pekka Enberg <penberg@cs.helsinki.fi>,
495                 Christoph Lameter <cl@linux-fou    476                 Christoph Lameter <cl@linux-foundation.org>
496 Description:                                      477 Description:
497                 Writing to the validate file c    478                 Writing to the validate file causes SLUB to traverse all of its
498                 cache's objects and check the     479                 cache's objects and check the validity of metadata.
499                                                << 
500 What:           /sys/kernel/slab/<cache>/users << 
501 Date:           Jun 2017                       << 
502 Contact:        David Windsor <dave@nullcore.ne << 
503 Description:                                   << 
504                 The usersize file is read-only << 
505                 region size.                   << 
506                                                << 
507 What:           /sys/kernel/slab/<cache>/slabs << 
508 Date:           Aug 2011                       << 
509 Contact:        Christoph Lameter <cl@linux.com << 
510 Description:                                   << 
511                 This read-only file shows the  << 
512                 frozen slabs.                  << 
513                                                << 
514 What:           /sys/kernel/slab/<cache>/cpu_p << 
515 Date:           Aug 2011                       << 
516 Contact:        Christoph Lameter <cl@linux.com << 
517 Description:                                   << 
518                 This read-only file shows the  << 
519                 pages to keep around.          << 
                                                      

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