[lxc-devel] [PATCH 1/5] cgroup: minor bugfixes so start and attach work again

Stéphane Graber stgraber at ubuntu.com
Mon Aug 19 22:02:44 UTC 2013


On Mon, Aug 19, 2013 at 04:57:10PM -0500, Serge Hallyn wrote:
> Quoting Christian Seiler (christian at iwakd.de):
> > Hi Serge,
> > 
> > > Thanks, Christian - I've pushed a new patch to github on top of yours.
> > > Regular start/stop/lxc-cgroup stuff is working for me both with all
> > > cgroups composed and separately mounted.
> > 
> > I can confirm that it works on my setup.
> > 
> > I do have a very stupid question, however: LXC 0.9 used to set the
> > cgroup to /lxc/$name. Now it's just /$name. Is that intentional?
> 
> Hm, it was somewhat unconscious but I didn't really mean to do that.
> Some cgroup subsystems do incur a performance penalty for every
> extra directory we descend.  But /lxc does make for a nice grouping.
> 
> Do you (and others) have a preference?  Should we stick with /lxc?
> 
> -serge

Having /lxc makes it much easier to sett what's part of a container vs
what's part of a user session or whatever else uses cgroups these days.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130820/d7d5ba05/attachment.pgp>


More information about the lxc-devel mailing list