From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Zefan Subject: Re: [PATCHSET cgroup/for-3.15] cgroup: implement unified hierarchy Date: Tue, 15 Apr 2014 10:58:24 +0800 Message-ID: <534CA050.8060709@huawei.com> References: <1395974461-12735-1-git-send-email-tj@kernel.org> <20140414154556.GA9552@redhat.com> <20140414175236.GB15249@htj.dyndns.org> <20140414181421.GC9552@redhat.com> <20140414192139.GB16835@htj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140414192139.GB16835-Gd/HAXX7CRxy/B6EtB590w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Tejun Heo Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Vivek Goyal List-Id: containers.vger.kernel.org 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/