diff --git a/man7/mq_overview.7 b/man7/mq_overview.7 index c5e5c7e3d..ca2cc6745 100644 --- a/man7/mq_overview.7 +++ b/man7/mq_overview.7 @@ -198,6 +198,33 @@ since Linux 3.5, .\" commit 5b5c4d1a1440e94994c73dddbad7be0676cd8b9a it is 65,536. .TP +.IR /proc/sys/fs/mqueue/msgsize_default " (since Linux 3.5)" +This file defines the value used for a new queue's +.I mq_msgsize +setting when the queue is created with a call to +.BR mq_open (3) +where +.I attr +is specified as NULL. +The default value for this file is 8192. +The minimum and maximum are as for +.IR /proc/sys/fs/mqueue/msgsize_max . +If +.IR msgsize_default +exceeds +.IR msgsize_max , +a new queue's default +.I mq_msgsize +value is capped to the +.I msgsize_max +limit. +Up until Linux 2.6.28, the default +.I mq_msgsize +was 8192; +from Linux 2.6.28 to Linux 3.4, the default was the value defined for the +.I msgsize_max +limit. +.TP .I /proc/sys/fs/mqueue/msgsize_max This file can be used to view and change the ceiling on the maximum message size.