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