Re: [PATCH] ipc: always handle a new value of auto_msgmni

From: Andrew Vagin
Date: Thu Aug 14 2014 - 09:35:12 EST


On Thu, Aug 14, 2014 at 11:37:45AM +0200, Manfred Spraul wrote:
> Hi Andrey,
>
> On 08/13/2014 03:21 PM, Andrey Vagin wrote:
> >proc_dointvec_minmax() returns zero, if a new value has been set.
> >So we don't need to check all charectes have been handled.
> What do you use auto_msgmni for?

We disable it to check that criu restores a value of the msgmni sysctl correctly.

https://github.com/xemul/criu/blob/master/test/zdtm/live/static/ipc_namespace.c

>
> I would propose to remove the whole logic - just always allow 32000 message
> queues.

I don't have objections.

>
> --
> Manfred
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/