~ [ 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.0)


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