From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCHSET cgroup/for-3.16] cgroup: implement unified hierarchy, v2 Date: Tue, 15 Apr 2014 18:08:09 -0400 Message-ID: <20140415220809.GD13099@mtj.dyndns.org> References: <1397511430-2673-1-git-send-email-tj@kernel.org> <534C983B.7080701@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <534C983B.7080701-hv44wF8Li93QT0dZR+AlfA@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: Li Zefan Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: containers.vger.kernel.org On Tue, Apr 15, 2014 at 10:23:55AM +0800, Li Zefan wrote: > Right after bootup: > > # mount -t cgroup -o __DEVEL__sane_behavior xxx /mnt > # ls /mnt > cgroup.controllers cgroup.procs cgroup.sane_behavior cgroup.subtree_control > # cat /mnt/cgroup.controllers > cpuset cpu cpuacct memory devices freezer net_cls blkio perf_event hugetlb > > I don't see any controller knobs... This was because cgroup_apply_cftypes() was skipping the default hierarchy while rebinding correctly populated it. I was alwasy testing by unmounting other hierarchies so never noticed it. The 0.5 patch that I just posted should fix the issue. git branches have been updated accordingly. Thanks -- tejun