Re: [PATCH v6 2/3] cgroups: allow a cgroup subsystem to reject a fork

From: Tejun Heo
Date: Thu Mar 26 2015 - 18:18:33 EST


On Fri, Mar 27, 2015 at 08:41:05AM +1100, Aleksa Sarai wrote:
> > You can't pin css_set from inside cgroup callbacks. It's a construct
> > which in general shouldn't be accessible outside cgroup core.
>
> Yeah, sorry I meant css (you aren't pinning, but you're still saving under RCU
> and dealing with the association-related stuff inside post_fork).

How would that work without pinning? What'd keep the css from going
away between pre and post?

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/