Re: [PATCHSET] cgroup: cftype based file interface, take #2

From: Tejun Heo
Date: Sat Mar 31 2012 - 12:31:12 EST


On Sat, Mar 31, 2012 at 08:56:36PM +0800, Li Zefan wrote:
> > Subsys can't be changed if any non-root cgroup exists.
> Ah, this is a long-standing defect, which is documented in Doc/../cgroups.txt.
> It's not trivial to fix it, and I never heard someone request it to be fixed.

Yeah, it was a bit of head scratcher. If it can be done only when
there's no cgroup configured, one might as well unmount and mount w/
new subsys instead of remounting. There's the minute difference that
existing root cgroup state is preserved but that hardly justifies the
crippled feature. IMHO, lack of fix request indicates the feature not
being used rather than anything else, so the deprecation proposal.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at