Re: [RFC] Control Groups Roadmap ideas

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Serge E. Hallyn
Date: Friday, April 11, 2008 - 7:48 am

Quoting Paul Menage (menage@google.com):

I'm tempted to ask what the use case is for this (I assume you have one,
you don't generally introduce features for no good reason), but it
doesn't sound like this would have any performance effect on the general
case, so it sounds good.

I'd stick with mount semantics.  Just
	mount -t cgroup -o remount,devices,cpu none /devwh"
should handle all cases, no?


I guess I'm hoping that if libcg goes well then a userspace daemon can
do all we need.  Of course the use case I envision is having a container
which is locked to some amount of ram, wherein the container admin wants
to lock some daemon to a subset of that ram.  If the host admin lets the
container admin edit a config file (or talk to a daemon through some
sock designated for the container) that will only create a child of the
container's cgroup, that's probably great.

So I'm basically being quiet until I see whether libcg will suffice.


I'm slooowly trying to whip together a swapfile namespace - not a
cgroup - which ties a swapfns to a list of swapfiles (where each
swapfile belongs to only one swapfns).  So I also need an mm->task
pointer of some kind.  I've got my own in my patches right now but
sure do hope to make use of Balbir's mm owner field.

-serge
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] Control Groups Roadmap ideas, Paul Menage, (Tue Apr 8, 2:14 pm)
Re: [RFC] Control Groups Roadmap ideas, Li Zefan, (Tue Apr 8, 7:28 pm)
Re: [RFC] Control Groups Roadmap ideas, Paul Menage, (Thu Apr 10, 1:10 pm)
Re: [RFC] Control Groups Roadmap ideas, Serge E. Hallyn, (Fri Apr 11, 7:48 am)
Re: [RFC] Control Groups Roadmap ideas, Balbir Singh, (Fri Apr 11, 10:10 pm)
Re: [RFC] Control Groups Roadmap ideas, Serge E. Hallyn, (Sun Apr 13, 9:11 am)
Re: [RFC] Control Groups Roadmap ideas, Paul Menage, (Sun Apr 13, 10:24 pm)
Re: [RFC] Control Groups Roadmap ideas, Serge E. Hallyn, (Mon Apr 14, 7:11 am)
Re: [RFC] Control Groups Roadmap ideas, Balbir Singh, (Mon Apr 14, 7:31 am)
Re: [RFC] Control Groups Roadmap ideas, Paul Menage, (Mon Apr 14, 8:03 am)