memrlimit controller merge to mainline

Paul Menage menage at
Tue Jul 29 17:33:21 PDT 2008

On Tue, Jul 29, 2008 at 5:31 PM, Hugh Dickins <hugh at> wrote:
> I don't see that I'm denying you a way to guarantee that (though I've
> been thinking more of the limits than the guarantees): I'm not saying
> that you cannot have a mem controller, I'm saying that you can also
> have a mem+swap controller; but that a swap-by-itself controller
> makes no sense to me.

OK, fair enough.

> I think that works until you get to fork: shared files and
> private/anonymous/swap behave differently from then on.

Good point. It works as long as you never do a plain fork() without
immediate execve() though.


More information about the Containers mailing list