Re: [PATCHSET cgroup/for-3.16] cgroup: implement css->id

From: Tejun Heo
Date: Sun May 04 2014 - 15:18:42 EST


On Thu, Apr 24, 2014 at 05:02:07PM -0400, Tejun Heo wrote:
> Hello,
>
> Until now, cgroup->id has been used to identify all the associated
> csses and css_from_id() takes cgroup ID and returns the matching css
> by looking up the cgroup and then dereferencing the css associated
> with it; however, now that the lifetimes of cgroup and css are
> separate, this is incorrect and breaks on the unified hierarchy when a
> controller is disabled and enabled back again before the previous
> instance is released.

Aplied to cgroup/for-3.16. I was a bit worried about possible
conflicts with other memcg changes but they don't seem to conflict
anywhere.

Thanks.

--
tejun
--
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/