shmget.2: Rewrite description of SHMMNI default value

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-17 13:39:14 +02:00
parent c00811f345
commit 098c699809
1 changed files with 5 additions and 3 deletions

View File

@ -35,7 +35,7 @@
.\" Language and formatting clean-ups
.\" Added notes on /proc files
.\"
.TH SHMGET 2 2013-04-19 "Linux" "Linux Programmer's Manual"
.TH SHMGET 2 2014-04-17 "Linux" "Linux Programmer's Manual"
.SH NAME
shmget \- allocates a System V shared memory segment
.SH SYNOPSIS
@ -289,8 +289,10 @@ dependent (currently 1 byte, though
is the effective minimum size).
.TP
.B SHMMNI
System wide maximum number of shared memory segments: implementation
dependent (currently 4096, was 128 before Linux 2.3.99).
System wide maximum number of shared memory segments.
In Linux 2.2, the default value for this limit was 128;
since Linux 2.4, the default value is 4096.
On Linux, this limit can be read and modified via
.IR /proc/sys/kernel/shmmni .
.\" Kernels between 2.4.x and 2.6.8 had an off-by-one error that meant