summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man5/slabinfo.5
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
commit4ad94864781f48b1a4b77f9cfb934622bf756ba1 (patch)
tree3900955c1886e6d2570fea7125ee1f01bafe876d /upstream/debian-unstable/man5/slabinfo.5
parentAdding upstream version 4.22.0. (diff)
downloadmanpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.tar.xz
manpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.zip
Adding upstream version 4.23.0.upstream/4.23.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/debian-unstable/man5/slabinfo.5')
-rw-r--r--upstream/debian-unstable/man5/slabinfo.528
1 files changed, 14 insertions, 14 deletions
diff --git a/upstream/debian-unstable/man5/slabinfo.5 b/upstream/debian-unstable/man5/slabinfo.5
index e27ff80f..1055dc08 100644
--- a/upstream/debian-unstable/man5/slabinfo.5
+++ b/upstream/debian-unstable/man5/slabinfo.5
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH slabinfo 5 2023-02-05 "Linux man-pages 6.05.01"
+.TH slabinfo 5 2024-05-02 "Linux man-pages 6.8"
.SH NAME
slabinfo \- kernel slab allocator statistics
.SH SYNOPSIS
@@ -19,7 +19,7 @@ The file
gives statistics on these caches.
The following (edited) output shows an example of the
contents of this file:
-.PP
+.P
.EX
$ \fBsudo cat /proc/slabinfo\fP
slabinfo \- version: 2.1
@@ -29,13 +29,13 @@ sighand_cache 355 405 2112 15 8 : tunables 0 0 0 : slabdata 27 27 0
kmalloc\-8192 96 96 8192 4 8 : tunables 0 0 0 : slabdata 24 24 0
\&...
.EE
-.PP
+.P
The first line of output includes a version number,
which allows an application that is reading the file to handle changes
in the file format.
(See VERSIONS, below.)
The next line lists the names of the columns in the remaining lines.
-.PP
+.P
Each of the remaining lines displays information about a specified cache.
Following the cache name,
the output shown in each line shows three components for each cache:
@@ -45,7 +45,7 @@ statistics
tunables
.IP \[bu]
slabdata
-.PP
+.P
The statistics are as follows:
.TP
.I active_objs
@@ -63,7 +63,7 @@ The number of objects stored in each slab.
.TP
.I pagesperslab
The number of pages allocated for each slab.
-.PP
+.P
The
.I tunables
entries in each line show tunable parameters for the corresponding cache.
@@ -74,13 +74,13 @@ When using the older SLAB allocator,
the tunables for a particular cache can be set by writing
lines of the following form to
.IR /proc/slabinfo :
-.PP
+.P
.in +4n
.EX
# \fBecho \[aq]name limit batchcount sharedfactor\[aq] > /proc/slabinfo\fP
.EE
.in
-.PP
+.P
Here,
.I name
is the cache name, and
@@ -100,7 +100,7 @@ and
should be nonnegative.
If any of the specified values is invalid,
the cache settings are left unchanged.
-.PP
+.P
The
.I tunables
entries in each line contain the following fields:
@@ -121,7 +121,7 @@ when refilling the available object list.
.I sharedfactor
[To be documented]
.\"
-.PP
+.P
The
.I slabdata
entries in each line contain the following fields:
@@ -134,12 +134,12 @@ The total number of slabs.
.TP
.I sharedavail
[To be documented]
-.PP
+.P
Note that because of object alignment and slab cache overhead,
objects are not normally packed tightly into pages.
Pages with even one in-use object are considered in-use and cannot be
freed.
-.PP
+.P
Kernels configured with
.B CONFIG_DEBUG_SLAB
will also have additional statistics fields in each line,
@@ -206,14 +206,14 @@ Only root can read and (if the kernel was configured with
write the
.I /proc/slabinfo
file.
-.PP
+.P
The total amount of memory allocated to the SLAB/SLUB cache is shown in the
.I Slab
field of
.IR /proc/meminfo .
.SH SEE ALSO
.BR slabtop (1)
-.PP
+.P
The kernel source file
.I Documentation/vm/slub.txt
and