[PATCH] IPC initialize shmmax and shmall from the current value not the default

Davidlohr Bueso davidlohr at hp.com
Sat May 3 23:53:36 UTC 2014


On Sun, 2014-05-04 at 01:48 +0300, Marian Marinov wrote:
> When we are creating new IPC namespace that should be cloned from the current namespace it is a good idea to copy the 
> values of the current shmmax and shmall to the new namespace.

Why is this a good idea?

This would break userspace that relies on the current behavior.
Furthermore we've recently changed the default value of both these
limits to be as large as you can get, thus deprecating them. I don't
like the idea of this being replaced by namespaces.

Thanks,
Davidlohr



More information about the Containers mailing list