shmget.2: Fix kernel version numbers in discussion of SHMALL

Reported-by: Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-28 06:39:42 +02:00
parent 718778adf8
commit 96ad3d6569
1 changed files with 3 additions and 4 deletions

View File

@ -35,7 +35,7 @@
.\" Language and formatting clean-ups
.\" Added notes on /proc files
.\"
.TH SHMGET 2 2014-04-17 "Linux" "Linux Programmer's Manual"
.TH SHMGET 2 2014-04-28 "Linux" "Linux Programmer's Manual"
.SH NAME
shmget \- allocates a System V shared memory segment
.SH SYNOPSIS
@ -265,12 +265,11 @@ call:
.TP
.B SHMALL
System wide maximum of shared memory pages.
Since Linux 2.2, the default value for this limit is
Since Linux 2.4, the default value for this limit is
SHMMAX / PAGE_SIZE * (SHMMNI / 16)
Assuming a 4kB page size, this formula yields (since Linux 2.4) the value
2^20 (2,097,152).
Assuming a 4kB page size, this formula yields the value 2^20 (2,097,152).
On Linux, this limit can be read and modified via
.IR /proc/sys/kernel/shmall .