[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC -mm 0/6] sysv ipc: scale msgmnb with the number of cpus wrote:
> Humm... now this make me think that you did not change the MSGMNB
> value when you changed MSGMNI and MSGMAX.
> Maybe that was on purpose?
I was afraid that it might break user space applications that queue a
few kb of messages.
That's also the reason for
> if (msgsz + msq->q_cbytes <= msq->q_qbytes &&
> 1 + msq->q_qnum <= msq->q_qbytes) {
> break;
> }
It's possible to send 0-byte messages even if the message queue is full
[except that you can't send more than MSGMNB messages].


 \ /
  Last update: 2008-06-24 20:03    [W:0.059 / U:0.072 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site