LWN.net Logo

KS2011: Coming to love control groups

KS2011: Coming to love control groups

Posted Oct 25, 2011 6:34 UTC (Tue) by ebiederm (subscriber, #35028)
Parent article: KS2011: Coming to love control groups

"There are patches in the works to give namespaces a more control group like interface." The concept sounds completely bogus and I haven't seen any of patch posted to make control groups more like namespaces. The control group interface has serious nesting problems and as such can not be used for namespaces without removing functionality.

I propose someone fix the control group interface so it works before having control groups take over the world.


(Log in to post comments)

KS2011: Coming to love control groups

Posted Oct 25, 2011 10:06 UTC (Tue) by nix (subscriber, #2304) [Link]

The control group interface has serious nesting problems
Presumably you mean the kernel-internal interface, not the userspace-visible interface? As far as I know directories can be nested with no problems at all. (If there are problems, a lot of people would like to know what they are!)

KS2011: Coming to love control groups

Posted Oct 26, 2011 1:20 UTC (Wed) by ebiederm (subscriber, #35028) [Link]

In a container context to be properly abstracted from what is outside the container you need fresh mounts for the controllers you are going to use and the ability to have a different binding of control groups to hierarchies.

In fairness Paul Menage has been looking at this a bit after I raised the issue with him at plumers conf.

James seems a little more dense and seems to not have understood when I pointed out that control groups and namespaces were not them same thing. I guess more repetition of the obvious is in order.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds