semget.2: Clarify SEMMNS versus SEMMSL*SEMMNI

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-28 08:14:10 +02:00
parent 80816b0bc4
commit 96c1bf310b
1 changed files with 4 additions and 3 deletions

View File

@ -265,9 +265,10 @@ Maximum number of semaphores per semaphore ID: implementation dependent
System-wide limit on the number of semaphores: policy dependent
(on Linux, this limit can be read and modified via the second field of
.IR /proc/sys/kernel/sem ).
Values greater than
.B SEMMSL * SEMMNI
makes it irrelevant.
Note that number of semaphores system-wide is also limited by the product of
.B SEMMSL
and
.BR SEMMNI .
.SH BUGS
The name choice
.B IPC_PRIVATE