diff options
author | 2024-09-09 18:32:23 +0200 | |
---|---|---|
committer | 2024-09-10 10:04:28 -1000 | |
commit | af000ce85293b8e608f696f0c6c280bc3a75887f (patch) | |
tree | 3af3fe827b04bd7c76d2914a90577a5641e9667d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | cgroup: Disallow mounting v1 hierarchies without controller implementation (diff) | |
download | wireguard-linux-af000ce85293b8e608f696f0c6c280bc3a75887f.tar.xz wireguard-linux-af000ce85293b8e608f696f0c6c280bc3a75887f.zip |
cgroup: Do not report unavailable v1 controllers in /proc/cgroups
This is a followup to CONFIG-urability of cpuset and memory controllers
for v1 hierarchies. Make the output in /proc/cgroups reflect that
!CONFIG_CPUSETS_V1 is like !CONFIG_CPUSETS and
!CONFIG_MEMCG_V1 is like !CONFIG_MEMCG.
The intended effect is that hiding the unavailable controllers will hint
users not to try mounting them on v1.
Signed-off-by: Michal Koutný <mkoutny@suse.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions