Re: [PATCH v4] sched: automated per session task groups

Mike Galbraith
2010-12-01T15:04:09Z

On Wed, 2010-12-01 at 09:55 -0500, Vivek Goyal wrote:

> So IIUC, if a task is in root cgroup, then it would not necessarily be driven
> by cpu.shares of root cgroup (as task could be in its own autogroup). But
> if I move the task into a non-root cgroup, then it will for sure be
> subjected to rules imposed by non-root cgroup cpu.shares. That's not too
> bad.

I think the normal case would be either one or the other being in use at
any given time, but yes, if both are active, that's how it'd work.

-Mike