[Lxc-users] Code map sharing and cgroup memory limits

Andre Nathan andre at digirati.com.br
Fri Apr 20 18:22:26 UTC 2012


Hello

Reading the list I found this thread from 2011:

http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg01475.html

It is describes how memory is shared among containers when one uses bind
mounts for binaries and libraries.

Does anyone know how the memory limit cgroup setting is affected by this
sharing? Does this fall under the description in section 2.3 of

   http://www.kernel.org/doc/Documentation/cgroups/memory.txt

which mentions that the first cgroup that touches a page will be
accounted for that page?

Thanks,
Andre





More information about the lxc-users mailing list