summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-kernel-slab
diff options
context:
space:
mode:
authorSeongjun Hong <hsj0512@snu.ac.kr>2026-07-01 14:17:46 +0000
committerVlastimil Babka (SUSE) <vbabka@kernel.org>2026-07-08 18:31:27 +0200
commitbfec5d0b393f56b2f0ca42f50ee9939a9b3999d0 (patch)
treeb17ee4b0c86dbe1ee7c2227d037b306042113565 /Documentation/ABI/testing/sysfs-kernel-slab
parent0125c783248707a50819c1423cba8dc455b27612 (diff)
downloadlinux-next-bfec5d0b393f56b2f0ca42f50ee9939a9b3999d0.tar.gz
linux-next-bfec5d0b393f56b2f0ca42f50ee9939a9b3999d0.zip
docs: ABI: sysfs-kernel-slab: mark cpu_partial attributes deprecated
The per-cpu slab and per-cpu partial slab mechanisms were removed when SLUB was fully converted to per-cpu sheaves in Linux 7.0. The cpu_slabs, slabs_cpu_partial and cpu_partial sysfs attributes were kept as stubs that always return 0 for backwards compatibility, but their documentation still described them as if they were functional. Update the three descriptions to state that the attributes are deprecated and always read 0, and note that they are retained only for compatibility. While here, fix a "partialli" typo in the slabs_cpu_partial description. Signed-off-by: Seongjun Hong <hsj0512@snu.ac.kr> Acked-by: Harry Yoo (Oracle) <harry@kernel.org> Link: https://patch.msgid.link/20260701141755.85119-1-hsj0512@snu.ac.kr Signed-off-by: Vlastimil Babka (SUSE) <vbabka@kernel.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-kernel-slab')
-rw-r--r--Documentation/ABI/testing/sysfs-kernel-slab18
1 files changed, 12 insertions, 6 deletions
diff --git a/Documentation/ABI/testing/sysfs-kernel-slab b/Documentation/ABI/testing/sysfs-kernel-slab
index b26e4299f822..c52034e3e794 100644
--- a/Documentation/ABI/testing/sysfs-kernel-slab
+++ b/Documentation/ABI/testing/sysfs-kernel-slab
@@ -113,8 +113,10 @@ KernelVersion: 2.6.22
Contact: Pekka Enberg <penberg@cs.helsinki.fi>,
Christoph Lameter <cl@gentwo.org>
Description:
- The cpu_slabs file is read-only and displays how many cpu slabs
- are active and their NUMA locality.
+ The cpu_slabs file is read-only. It is deprecated and always
+ reads "0" since the removal of per-cpu slabs in Linux 7.0. It
+ previously displayed how many cpu slabs were active and their
+ NUMA locality. The file is kept for backwards compatibility.
What: /sys/kernel/slab/<cache>/cpuslab_flush
Date: April 2009
@@ -509,12 +511,16 @@ What: /sys/kernel/slab/<cache>/slabs_cpu_partial
Date: Aug 2011
Contact: Christoph Lameter <cl@gentwo.org>
Description:
- This read-only file shows the number of partialli allocated
- frozen slabs.
+ This read-only file is deprecated and always reads "0(0)" since
+ the removal of per-cpu partial slabs in Linux 7.0. It previously
+ showed the number of partially allocated frozen slabs. The file
+ is kept for backwards compatibility.
What: /sys/kernel/slab/<cache>/cpu_partial
Date: Aug 2011
Contact: Christoph Lameter <cl@gentwo.org>
Description:
- This read-only file shows the number of per cpu partial
- pages to keep around.
+ This file is deprecated and always reads "0" since the removal of
+ per-cpu partial slabs in Linux 7.0. It previously showed the
+ number of per-cpu partial pages to keep around. The file is kept
+ for backwards compatibility.