diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2014-08-08 11:44:03 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-08-22 13:20:40 -0400 |
commit | fa8137be6ba632041e725e4623258ba27a2cf9be (patch) | |
tree | 32e4be27a8840f6fbfc0f91f59d4e48ee4e91a51 /firmware | |
parent | 71b1fb5c4473a5b1e601d41b109bdfe001ec82e0 (diff) | |
download | talos-op-linux-fa8137be6ba632041e725e4623258ba27a2cf9be.tar.gz talos-op-linux-fa8137be6ba632041e725e4623258ba27a2cf9be.zip |
cgroup: Display legacy cgroup files on default hierarchy
Kernel command line parameter cgroup__DEVEL__legacy_files_on_dfl forces
legacy cgroup files to show up on default hierarhcy if susbsystem does
not have any files defined for default hierarchy.
But this seems to be working only if legacy files are defined in
ss->legacy_cftypes. If one adds some cftypes later using
cgroup_add_legacy_cftypes(), these files don't show up on default
hierarchy. Update the function accordingly so that the dynamically
added legacy files also show up in the default hierarchy if the target
subsystem is also using the base legacy files for the default
hierarchy.
tj: Patch description and comment updates.
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions