Re: Cache Allocation Technology Design

From: Matt Fleming
Date: Thu Oct 30 2014 - 10:20:25 EST


On Thu, 30 Oct, at 08:43:33AM, Tejun Heo wrote:
> Hello, Peter.
>
> On Thu, Oct 30, 2014 at 08:07:25AM +0100, Peter Zijlstra wrote:
> > If this means echo $tid > tasks, then sorry we can't do. There is a
> > limited number of hardware resources backing this thing. At some point
> > they're consumed and something must give.
>
> And that something shouldn't be disallowing task migration across
> cgroups. This simply doesn't work with co-mounting or unified
> hierarchy. cpuset automatically takes on the nearest ancestor's
> configuration which has enough execution resources. Maybe that can be
> an option for this too?

Oh, you can always add more tasks to a cgroup, or move tasks between
cgroups. What you can't always do is create more cgroups.

--
Matt Fleming, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/