18c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab
28c2ecf20Sopenharmony_ciDate:		May 2007
38c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
48c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
58c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
68c2ecf20Sopenharmony_ciDescription:
78c2ecf20Sopenharmony_ci		The /sys/kernel/slab directory contains a snapshot of the
88c2ecf20Sopenharmony_ci		internal state of the SLUB allocator for each cache.  Certain
98c2ecf20Sopenharmony_ci		files may be modified to change the behavior of the cache (and
108c2ecf20Sopenharmony_ci		any cache it aliases, if any).
118c2ecf20Sopenharmony_ciUsers:		kernel memory tuning tools
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/aliases
148c2ecf20Sopenharmony_ciDate:		May 2007
158c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
168c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
178c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
188c2ecf20Sopenharmony_ciDescription:
198c2ecf20Sopenharmony_ci		The aliases file is read-only and specifies how many caches
208c2ecf20Sopenharmony_ci		have merged into this cache.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/align
238c2ecf20Sopenharmony_ciDate:		May 2007
248c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
258c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
268c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
278c2ecf20Sopenharmony_ciDescription:
288c2ecf20Sopenharmony_ci		The align file is read-only and specifies the cache's object
298c2ecf20Sopenharmony_ci		alignment in bytes.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/alloc_calls
328c2ecf20Sopenharmony_ciDate:		May 2007
338c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
348c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
358c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
368c2ecf20Sopenharmony_ciDescription:
378c2ecf20Sopenharmony_ci		The alloc_calls file is read-only and lists the kernel code
388c2ecf20Sopenharmony_ci		locations from which allocations for this cache were performed.
398c2ecf20Sopenharmony_ci		The alloc_calls file only contains information if debugging is
408c2ecf20Sopenharmony_ci		enabled for that cache (see Documentation/vm/slub.rst).
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/alloc_fastpath
438c2ecf20Sopenharmony_ciDate:		February 2008
448c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
458c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
468c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
478c2ecf20Sopenharmony_ciDescription:
488c2ecf20Sopenharmony_ci		The alloc_fastpath file shows how many objects have been
498c2ecf20Sopenharmony_ci		allocated using the fast path.  It can be written to clear the
508c2ecf20Sopenharmony_ci		current count.
518c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/alloc_from_partial
548c2ecf20Sopenharmony_ciDate:		February 2008
558c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
568c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
578c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
588c2ecf20Sopenharmony_ciDescription:
598c2ecf20Sopenharmony_ci		The alloc_from_partial file shows how many times a cpu slab has
608c2ecf20Sopenharmony_ci		been full and it has been refilled by using a slab from the list
618c2ecf20Sopenharmony_ci		of partially used slabs.  It can be written to clear the current
628c2ecf20Sopenharmony_ci		count.
638c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/alloc_refill
668c2ecf20Sopenharmony_ciDate:		February 2008
678c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
688c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
698c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
708c2ecf20Sopenharmony_ciDescription:
718c2ecf20Sopenharmony_ci		The alloc_refill file shows how many times the per-cpu freelist
728c2ecf20Sopenharmony_ci		was empty but there were objects available as the result of
738c2ecf20Sopenharmony_ci		remote cpu frees.  It can be written to clear the current count.
748c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/alloc_slab
778c2ecf20Sopenharmony_ciDate:		February 2008
788c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
798c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
808c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
818c2ecf20Sopenharmony_ciDescription:
828c2ecf20Sopenharmony_ci		The alloc_slab file is shows how many times a new slab had to
838c2ecf20Sopenharmony_ci		be allocated from the page allocator.  It can be written to
848c2ecf20Sopenharmony_ci		clear the current count.
858c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
868c2ecf20Sopenharmony_ci
878c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/alloc_slowpath
888c2ecf20Sopenharmony_ciDate:		February 2008
898c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
908c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
918c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
928c2ecf20Sopenharmony_ciDescription:
938c2ecf20Sopenharmony_ci		The alloc_slowpath file shows how many objects have been
948c2ecf20Sopenharmony_ci		allocated using the slow path because of a refill or
958c2ecf20Sopenharmony_ci		allocation from a partial or new slab.  It can be written to
968c2ecf20Sopenharmony_ci		clear the current count.
978c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
988c2ecf20Sopenharmony_ci
998c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/cache_dma
1008c2ecf20Sopenharmony_ciDate:		May 2007
1018c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
1028c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
1038c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
1048c2ecf20Sopenharmony_ciDescription:
1058c2ecf20Sopenharmony_ci		The cache_dma file is read-only and specifies whether objects
1068c2ecf20Sopenharmony_ci		are from ZONE_DMA.
1078c2ecf20Sopenharmony_ci		Available when CONFIG_ZONE_DMA is enabled.
1088c2ecf20Sopenharmony_ci
1098c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/cpu_slabs
1108c2ecf20Sopenharmony_ciDate:		May 2007
1118c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
1128c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
1138c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
1148c2ecf20Sopenharmony_ciDescription:
1158c2ecf20Sopenharmony_ci		The cpu_slabs file is read-only and displays how many cpu slabs
1168c2ecf20Sopenharmony_ci		are active and their NUMA locality.
1178c2ecf20Sopenharmony_ci
1188c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/cpuslab_flush
1198c2ecf20Sopenharmony_ciDate:		April 2009
1208c2ecf20Sopenharmony_ciKernelVersion:	2.6.31
1218c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
1228c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
1238c2ecf20Sopenharmony_ciDescription:
1248c2ecf20Sopenharmony_ci		The file cpuslab_flush shows how many times a cache's cpu slabs
1258c2ecf20Sopenharmony_ci		have been flushed as the result of destroying or shrinking a
1268c2ecf20Sopenharmony_ci		cache, a cpu going offline, or as the result of forcing an
1278c2ecf20Sopenharmony_ci		allocation from a certain node.  It can be written to clear the
1288c2ecf20Sopenharmony_ci		current count.
1298c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
1308c2ecf20Sopenharmony_ci
1318c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/ctor
1328c2ecf20Sopenharmony_ciDate:		May 2007
1338c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
1348c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
1358c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
1368c2ecf20Sopenharmony_ciDescription:
1378c2ecf20Sopenharmony_ci		The ctor file is read-only and specifies the cache's object
1388c2ecf20Sopenharmony_ci		constructor function, which is invoked for each object when a
1398c2ecf20Sopenharmony_ci		new slab is allocated.
1408c2ecf20Sopenharmony_ci
1418c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/deactivate_empty
1428c2ecf20Sopenharmony_ciDate:		February 2008
1438c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
1448c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
1458c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
1468c2ecf20Sopenharmony_ciDescription:
1478c2ecf20Sopenharmony_ci		The deactivate_empty file shows how many times an empty cpu slab
1488c2ecf20Sopenharmony_ci		was deactivated.  It can be written to clear the current count.
1498c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/deactivate_full
1528c2ecf20Sopenharmony_ciDate:		February 2008
1538c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
1548c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
1558c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
1568c2ecf20Sopenharmony_ciDescription:
1578c2ecf20Sopenharmony_ci		The deactivate_full file shows how many times a full cpu slab
1588c2ecf20Sopenharmony_ci		was deactivated.  It can be written to clear the current count.
1598c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
1608c2ecf20Sopenharmony_ci
1618c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/deactivate_remote_frees
1628c2ecf20Sopenharmony_ciDate:		February 2008
1638c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
1648c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
1658c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
1668c2ecf20Sopenharmony_ciDescription:
1678c2ecf20Sopenharmony_ci		The deactivate_remote_frees file shows how many times a cpu slab
1688c2ecf20Sopenharmony_ci		has been deactivated and contained free objects that were freed
1698c2ecf20Sopenharmony_ci		remotely.  It can be written to clear the current count.
1708c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
1718c2ecf20Sopenharmony_ci
1728c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/deactivate_to_head
1738c2ecf20Sopenharmony_ciDate:		February 2008
1748c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
1758c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
1768c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
1778c2ecf20Sopenharmony_ciDescription:
1788c2ecf20Sopenharmony_ci		The deactivate_to_head file shows how many times a partial cpu
1798c2ecf20Sopenharmony_ci		slab was deactivated and added to the head of its node's partial
1808c2ecf20Sopenharmony_ci		list.  It can be written to clear the current count.
1818c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
1828c2ecf20Sopenharmony_ci
1838c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/deactivate_to_tail
1848c2ecf20Sopenharmony_ciDate:		February 2008
1858c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
1868c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
1878c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
1888c2ecf20Sopenharmony_ciDescription:
1898c2ecf20Sopenharmony_ci		The deactivate_to_tail file shows how many times a partial cpu
1908c2ecf20Sopenharmony_ci		slab was deactivated and added to the tail of its node's partial
1918c2ecf20Sopenharmony_ci		list.  It can be written to clear the current count.
1928c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
1938c2ecf20Sopenharmony_ci
1948c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/destroy_by_rcu
1958c2ecf20Sopenharmony_ciDate:		May 2007
1968c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
1978c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
1988c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
1998c2ecf20Sopenharmony_ciDescription:
2008c2ecf20Sopenharmony_ci		The destroy_by_rcu file is read-only and specifies whether
2018c2ecf20Sopenharmony_ci		slabs (not objects) are freed by rcu.
2028c2ecf20Sopenharmony_ci
2038c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/free_add_partial
2048c2ecf20Sopenharmony_ciDate:		February 2008
2058c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
2068c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
2078c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
2088c2ecf20Sopenharmony_ciDescription:
2098c2ecf20Sopenharmony_ci		The free_add_partial file shows how many times an object has
2108c2ecf20Sopenharmony_ci		been freed in a full slab so that it had to added to its node's
2118c2ecf20Sopenharmony_ci		partial list.  It can be written to clear the current count.
2128c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
2138c2ecf20Sopenharmony_ci
2148c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/free_calls
2158c2ecf20Sopenharmony_ciDate:		May 2007
2168c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
2178c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
2188c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
2198c2ecf20Sopenharmony_ciDescription:
2208c2ecf20Sopenharmony_ci		The free_calls file is read-only and lists the locations of
2218c2ecf20Sopenharmony_ci		object frees if slab debugging is enabled (see
2228c2ecf20Sopenharmony_ci		Documentation/vm/slub.rst).
2238c2ecf20Sopenharmony_ci
2248c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/free_fastpath
2258c2ecf20Sopenharmony_ciDate:		February 2008
2268c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
2278c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
2288c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
2298c2ecf20Sopenharmony_ciDescription:
2308c2ecf20Sopenharmony_ci		The free_fastpath file shows how many objects have been freed
2318c2ecf20Sopenharmony_ci		using the fast path because it was an object from the cpu slab.
2328c2ecf20Sopenharmony_ci		It can be written to clear the current count.
2338c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
2348c2ecf20Sopenharmony_ci
2358c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/free_frozen
2368c2ecf20Sopenharmony_ciDate:		February 2008
2378c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
2388c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
2398c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
2408c2ecf20Sopenharmony_ciDescription:
2418c2ecf20Sopenharmony_ci		The free_frozen file shows how many objects have been freed to
2428c2ecf20Sopenharmony_ci		a frozen slab (i.e. a remote cpu slab).  It can be written to
2438c2ecf20Sopenharmony_ci		clear the current count.
2448c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
2458c2ecf20Sopenharmony_ci
2468c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/free_remove_partial
2478c2ecf20Sopenharmony_ciDate:		February 2008
2488c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
2498c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
2508c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
2518c2ecf20Sopenharmony_ciDescription:
2528c2ecf20Sopenharmony_ci		The free_remove_partial file shows how many times an object has
2538c2ecf20Sopenharmony_ci		been freed to a now-empty slab so that it had to be removed from
2548c2ecf20Sopenharmony_ci		its node's partial list.  It can be written to clear the current
2558c2ecf20Sopenharmony_ci		count.
2568c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
2578c2ecf20Sopenharmony_ci
2588c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/free_slab
2598c2ecf20Sopenharmony_ciDate:		February 2008
2608c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
2618c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
2628c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
2638c2ecf20Sopenharmony_ciDescription:
2648c2ecf20Sopenharmony_ci		The free_slab file shows how many times an empty slab has been
2658c2ecf20Sopenharmony_ci		freed back to the page allocator.  It can be written to clear
2668c2ecf20Sopenharmony_ci		the current count.
2678c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
2688c2ecf20Sopenharmony_ci
2698c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/free_slowpath
2708c2ecf20Sopenharmony_ciDate:		February 2008
2718c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
2728c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
2738c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
2748c2ecf20Sopenharmony_ciDescription:
2758c2ecf20Sopenharmony_ci		The free_slowpath file shows how many objects have been freed
2768c2ecf20Sopenharmony_ci		using the slow path (i.e. to a full or partial slab).  It can
2778c2ecf20Sopenharmony_ci		be written to clear the current count.
2788c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
2798c2ecf20Sopenharmony_ci
2808c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/hwcache_align
2818c2ecf20Sopenharmony_ciDate:		May 2007
2828c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
2838c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
2848c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
2858c2ecf20Sopenharmony_ciDescription:
2868c2ecf20Sopenharmony_ci		The hwcache_align file is read-only and specifies whether
2878c2ecf20Sopenharmony_ci		objects are aligned on cachelines.
2888c2ecf20Sopenharmony_ci
2898c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/min_partial
2908c2ecf20Sopenharmony_ciDate:		February 2009
2918c2ecf20Sopenharmony_ciKernelVersion:	2.6.30
2928c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
2938c2ecf20Sopenharmony_ci		David Rientjes <rientjes@google.com>
2948c2ecf20Sopenharmony_ciDescription:
2958c2ecf20Sopenharmony_ci		The min_partial file specifies how many empty slabs shall
2968c2ecf20Sopenharmony_ci		remain on a node's partial list to avoid the overhead of
2978c2ecf20Sopenharmony_ci		allocating new slabs.  Such slabs may be reclaimed by utilizing
2988c2ecf20Sopenharmony_ci		the shrink file.
2998c2ecf20Sopenharmony_ci
3008c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/object_size
3018c2ecf20Sopenharmony_ciDate:		May 2007
3028c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
3038c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
3048c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
3058c2ecf20Sopenharmony_ciDescription:
3068c2ecf20Sopenharmony_ci		The object_size file is read-only and specifies the cache's
3078c2ecf20Sopenharmony_ci		object size.
3088c2ecf20Sopenharmony_ci
3098c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/objects
3108c2ecf20Sopenharmony_ciDate:		May 2007
3118c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
3128c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
3138c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
3148c2ecf20Sopenharmony_ciDescription:
3158c2ecf20Sopenharmony_ci		The objects file is read-only and displays how many objects are
3168c2ecf20Sopenharmony_ci		active and from which nodes they are from.
3178c2ecf20Sopenharmony_ci
3188c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/objects_partial
3198c2ecf20Sopenharmony_ciDate:		April 2008
3208c2ecf20Sopenharmony_ciKernelVersion:	2.6.26
3218c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
3228c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
3238c2ecf20Sopenharmony_ciDescription:
3248c2ecf20Sopenharmony_ci		The objects_partial file is read-only and displays how many
3258c2ecf20Sopenharmony_ci		objects are on partial slabs and from which nodes they are
3268c2ecf20Sopenharmony_ci		from.
3278c2ecf20Sopenharmony_ci
3288c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/objs_per_slab
3298c2ecf20Sopenharmony_ciDate:		May 2007
3308c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
3318c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
3328c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
3338c2ecf20Sopenharmony_ciDescription:
3348c2ecf20Sopenharmony_ci		The file objs_per_slab is read-only and specifies how many
3358c2ecf20Sopenharmony_ci		objects may be allocated from a single slab of the order
3368c2ecf20Sopenharmony_ci		specified in /sys/kernel/slab/cache/order.
3378c2ecf20Sopenharmony_ci
3388c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/order
3398c2ecf20Sopenharmony_ciDate:		May 2007
3408c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
3418c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
3428c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
3438c2ecf20Sopenharmony_ciDescription:
3448c2ecf20Sopenharmony_ci		The order file specifies the page order at which new slabs are
3458c2ecf20Sopenharmony_ci		allocated.  It is writable and can be changed to increase the
3468c2ecf20Sopenharmony_ci		number of objects per slab.  If a slab cannot be allocated
3478c2ecf20Sopenharmony_ci		because of fragmentation, SLUB will retry with the minimum order
3488c2ecf20Sopenharmony_ci		possible depending on its characteristics.
3498c2ecf20Sopenharmony_ci
3508c2ecf20Sopenharmony_ci		When debug_guardpage_minorder=N (N > 0) parameter is specified
3518c2ecf20Sopenharmony_ci		(see Documentation/admin-guide/kernel-parameters.rst), the minimum possible
3528c2ecf20Sopenharmony_ci		order is used and this sysfs entry can not be used to change
3538c2ecf20Sopenharmony_ci		the order at run time.
3548c2ecf20Sopenharmony_ci
3558c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/order_fallback
3568c2ecf20Sopenharmony_ciDate:		April 2008
3578c2ecf20Sopenharmony_ciKernelVersion:	2.6.26
3588c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
3598c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
3608c2ecf20Sopenharmony_ciDescription:
3618c2ecf20Sopenharmony_ci		The order_fallback file shows how many times an allocation of a
3628c2ecf20Sopenharmony_ci		new slab has not been possible at the cache's order and instead
3638c2ecf20Sopenharmony_ci		fallen back to its minimum possible order.  It can be written to
3648c2ecf20Sopenharmony_ci		clear the current count.
3658c2ecf20Sopenharmony_ci
3668c2ecf20Sopenharmony_ci		Available when CONFIG_SLUB_STATS is enabled.
3678c2ecf20Sopenharmony_ci
3688c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/partial
3698c2ecf20Sopenharmony_ciDate:		May 2007
3708c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
3718c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
3728c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
3738c2ecf20Sopenharmony_ciDescription:
3748c2ecf20Sopenharmony_ci		The partial file is read-only and displays how long many
3758c2ecf20Sopenharmony_ci		partial slabs there are and how long each node's list is.
3768c2ecf20Sopenharmony_ci
3778c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/poison
3788c2ecf20Sopenharmony_ciDate:		May 2007
3798c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
3808c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
3818c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
3828c2ecf20Sopenharmony_ciDescription:
3838c2ecf20Sopenharmony_ci		The poison file specifies whether objects should be poisoned
3848c2ecf20Sopenharmony_ci		when a new slab is allocated.
3858c2ecf20Sopenharmony_ci
3868c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/reclaim_account
3878c2ecf20Sopenharmony_ciDate:		May 2007
3888c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
3898c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
3908c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
3918c2ecf20Sopenharmony_ciDescription:
3928c2ecf20Sopenharmony_ci		The reclaim_account file specifies whether the cache's objects
3938c2ecf20Sopenharmony_ci		are reclaimable (and grouped by their mobility).
3948c2ecf20Sopenharmony_ci
3958c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/red_zone
3968c2ecf20Sopenharmony_ciDate:		May 2007
3978c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
3988c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
3998c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
4008c2ecf20Sopenharmony_ciDescription:
4018c2ecf20Sopenharmony_ci		The red_zone file specifies whether the cache's objects are red
4028c2ecf20Sopenharmony_ci		zoned.
4038c2ecf20Sopenharmony_ci
4048c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/remote_node_defrag_ratio
4058c2ecf20Sopenharmony_ciDate:		January 2008
4068c2ecf20Sopenharmony_ciKernelVersion:	2.6.25
4078c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
4088c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
4098c2ecf20Sopenharmony_ciDescription:
4108c2ecf20Sopenharmony_ci		The file remote_node_defrag_ratio specifies the percentage of
4118c2ecf20Sopenharmony_ci		times SLUB will attempt to refill the cpu slab with a partial
4128c2ecf20Sopenharmony_ci		slab from a remote node as opposed to allocating a new slab on
4138c2ecf20Sopenharmony_ci		the local node.  This reduces the amount of wasted memory over
4148c2ecf20Sopenharmony_ci		the entire system but can be expensive.
4158c2ecf20Sopenharmony_ci
4168c2ecf20Sopenharmony_ci		Available when CONFIG_NUMA is enabled.
4178c2ecf20Sopenharmony_ci
4188c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/sanity_checks
4198c2ecf20Sopenharmony_ciDate:		May 2007
4208c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
4218c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
4228c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
4238c2ecf20Sopenharmony_ciDescription:
4248c2ecf20Sopenharmony_ci		The sanity_checks file specifies whether expensive checks
4258c2ecf20Sopenharmony_ci		should be performed on free and, at minimum, enables double free
4268c2ecf20Sopenharmony_ci		checks.  Caches that enable sanity_checks cannot be merged with
4278c2ecf20Sopenharmony_ci		caches that do not.
4288c2ecf20Sopenharmony_ci
4298c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/shrink
4308c2ecf20Sopenharmony_ciDate:		May 2007
4318c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
4328c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
4338c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
4348c2ecf20Sopenharmony_ciDescription:
4358c2ecf20Sopenharmony_ci		The shrink file is used to reclaim unused slab cache
4368c2ecf20Sopenharmony_ci		memory from a cache.  Empty per-cpu or partial slabs
4378c2ecf20Sopenharmony_ci		are freed and the partial list is sorted so the slabs
4388c2ecf20Sopenharmony_ci		with the fewest available objects are used first.
4398c2ecf20Sopenharmony_ci		It only accepts a value of "1" on write for shrinking
4408c2ecf20Sopenharmony_ci		the cache. Other input values are considered invalid.
4418c2ecf20Sopenharmony_ci		Shrinking slab caches might be expensive and can
4428c2ecf20Sopenharmony_ci		adversely impact other running applications.  So it
4438c2ecf20Sopenharmony_ci		should be used with care.
4448c2ecf20Sopenharmony_ci
4458c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/slab_size
4468c2ecf20Sopenharmony_ciDate:		May 2007
4478c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
4488c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
4498c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
4508c2ecf20Sopenharmony_ciDescription:
4518c2ecf20Sopenharmony_ci		The slab_size file is read-only and specifies the object size
4528c2ecf20Sopenharmony_ci		with metadata (debugging information and alignment) in bytes.
4538c2ecf20Sopenharmony_ci
4548c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/slabs
4558c2ecf20Sopenharmony_ciDate:		May 2007
4568c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
4578c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
4588c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
4598c2ecf20Sopenharmony_ciDescription:
4608c2ecf20Sopenharmony_ci		The slabs file is read-only and displays how long many slabs
4618c2ecf20Sopenharmony_ci		there are (both cpu and partial) and from which nodes they are
4628c2ecf20Sopenharmony_ci		from.
4638c2ecf20Sopenharmony_ci
4648c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/store_user
4658c2ecf20Sopenharmony_ciDate:		May 2007
4668c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
4678c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
4688c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
4698c2ecf20Sopenharmony_ciDescription:
4708c2ecf20Sopenharmony_ci		The store_user file specifies whether the location of
4718c2ecf20Sopenharmony_ci		allocation or free should be tracked for a cache.
4728c2ecf20Sopenharmony_ci
4738c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/total_objects
4748c2ecf20Sopenharmony_ciDate:		April 2008
4758c2ecf20Sopenharmony_ciKernelVersion:	2.6.26
4768c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
4778c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
4788c2ecf20Sopenharmony_ciDescription:
4798c2ecf20Sopenharmony_ci		The total_objects file is read-only and displays how many total
4808c2ecf20Sopenharmony_ci		objects a cache has and from which nodes they are from.
4818c2ecf20Sopenharmony_ci
4828c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/trace
4838c2ecf20Sopenharmony_ciDate:		May 2007
4848c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
4858c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
4868c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
4878c2ecf20Sopenharmony_ciDescription:
4888c2ecf20Sopenharmony_ci		The trace file specifies whether object allocations and frees
4898c2ecf20Sopenharmony_ci		should be traced.
4908c2ecf20Sopenharmony_ci
4918c2ecf20Sopenharmony_ciWhat:		/sys/kernel/slab/cache/validate
4928c2ecf20Sopenharmony_ciDate:		May 2007
4938c2ecf20Sopenharmony_ciKernelVersion:	2.6.22
4948c2ecf20Sopenharmony_ciContact:	Pekka Enberg <penberg@cs.helsinki.fi>,
4958c2ecf20Sopenharmony_ci		Christoph Lameter <cl@linux-foundation.org>
4968c2ecf20Sopenharmony_ciDescription:
4978c2ecf20Sopenharmony_ci		Writing to the validate file causes SLUB to traverse all of its
4988c2ecf20Sopenharmony_ci		cache's objects and check the validity of metadata.
499