Re: [PATCHSET cgroup/for-3.15] cgroup: implement unified hierarchy

From: Li Zefan
Date: Mon Apr 14 2014 - 22:59:23 EST


on 2014/4/15 3:21, Tejun Heo wrote:
> Hello,
>
> On Mon, Apr 14, 2014 at 02:14:21PM -0400, Vivek Goyal wrote:
>> So is this an intermediate mode before we move to single hiearchy *only*
>> mode. AFAIK, you had mentioned that we will support legacy multiple
>> hiearchy mode but single hiearchy is the new default mode.
>
> Hmmm? It's a separate special hierarchy which can co-exist with other
> hierarchies. There's no inherent intermediacy to it. As long as
> traditional hierarchies exist, it's gonna be like this.
>

I know we should allow multiple hierarchies, but why we allow this even
if sane_behavior is specified?

Like this:

# mount -t cgroup -o cpuset,__DEVEL__sane_behavior xxx /cgroup
# mount -t cgroup -o __DEVEL__sane_behavior xxx /cgroup2/


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