mq_overview.7: Rework discussion of HARD_MSGMAX

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-09-26 11:10:01 +02:00
parent 3b3d3564aa
commit 82f92a9e7c
1 changed files with 12 additions and 7 deletions

View File

@ -187,17 +187,22 @@ limit is ignored for privileged processes
but the
.BR HARD_MSGMAX
ceiling is nevertheless imposed.
The definition of
.BR HARD_MSGMAX
has changed across kernel versions:
before Linux 2.6.33, it was
.IR "(131072\ /\ sizeof(void\ *))"
(32768 on Linux/86);
from Linux 2.6.33, it was
.IR "(32768\ *\ sizeof(void\ *)/4)" ;
since Linux 3.5,
.RS
.IP * 3
Up to Linux 2.6.32:
.IR "131072\ /\ sizeof(void\ *)"
.IP *
Linux 2.6.33 to 3.4:
.IR "(32768\ *\ sizeof(void\ *)/4)"
.IP *
Since Linux 3.5:
.\" commit 5b5c4d1a1440e94994c73dddbad7be0676cd8b9a
it is 65,536.
65,536
.RE
.TP
.IR /proc/sys/fs/mqueue/msgsize_default " (since Linux 3.5)"
This file defines the value used for a new queue's