mirror of https://github.com/mkerrisk/man-pages
Add text noting that since kernel 2.6.16, /proc/slabinfo is
only available if CONFIG_SLAB is enabled.
This commit is contained in:
parent
56e0e87ff5
commit
350038ffb0
|
@ -57,7 +57,7 @@
|
|||
.\" to see what information could be imported from that file
|
||||
.\" into this file.
|
||||
.\"
|
||||
.TH PROC 5 2007-08-27 "Linux" "Linux Programmer's Manual"
|
||||
.TH PROC 5 2007-09-30 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
proc \- process information pseudo-filesystem
|
||||
.SH DESCRIPTION
|
||||
|
@ -1021,7 +1021,11 @@ same process.
|
|||
.TP
|
||||
.I /proc/slabinfo
|
||||
Information about kernel caches.
|
||||
The columns are:
|
||||
Since Linux 2.6.16 this file is only present if the CONFIG_SLAB kernel
|
||||
configuration option is enabled.
|
||||
The columns in
|
||||
.I /proc/slabinfo
|
||||
are:
|
||||
.nf
|
||||
cache-name
|
||||
num-active-objs
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
.\" Formatted or processed versions of this manual, if unaccompanied by
|
||||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.TH SLABINFO 5 2001-06-19 "" "Linux Programmer's Manual"
|
||||
.TH SLABINFO 5 2007-09-30 "" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
/proc/slabinfo \- Kernel slab allocator statistics
|
||||
.SH SYNOPSIS
|
||||
|
@ -61,8 +61,7 @@ and the number of pages per slab are given.
|
|||
|
||||
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
|
||||
Pages with even one in-use object are considered in-use and cannot be
|
||||
freed.
|
||||
|
||||
Kernels compiled with slab cache statistics will also have
|
||||
|
@ -114,3 +113,8 @@ echo "\fIcache_name limit batchcount\fP" > /proc/slabinfo
|
|||
.I /proc/slabinfo
|
||||
exists since Linux 2.1.23.
|
||||
SMP per-CPU caches exist since Linux 2.4.0-test3.
|
||||
.SH NOTES
|
||||
Since Linux 2.6.16 the file
|
||||
.I /proc/slabinfo
|
||||
is only present if the CONFIG_SLAB kernel
|
||||
configuration option is enabled.
|
||||
|
|
Loading…
Reference in New Issue