lkml.org 
[lkml]   [2017]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cgroup: Show control files in cgroup2 root after mount
On Tue, Jul 18, 2017 at 04:50:10PM -0400, Tejun Heo wrote:
> Heh, I'm really confused. If I do the same thing, I get the following
> result which makes sense as the files would be activated in
> cgroup_apply_cftypes() when the debug controller is registered during
> boot.
>
> # mkdir /cgroup2
> # mount -t cgroup2 cgroup2 /cgroup2
> # ls /cgroup2/
> cgroup.controllers debug.current_css_set
> cgroup.procs debug.current_css_set_cg_links
> cgroup.subtree_control debug.current_css_set_refcount
> cgroup.threads debug.masks
> debug.csses debug.taskcount
> debug.css_links

Never mind. I can repro after getting rid of some automatic umounts
from rc.local. Will find out what went wrong.

Thanks!

--
tejun

\
 
 \ /
  Last update: 2017-07-18 23:08    [W:0.053 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site