Centos-kernel-stream-9/kernel/cgroup
Radostin Stoyanov 3a901bcc52 cgroup: Do not report unavailable v1 controllers in /proc/cgroups
JIRA: https://issues.redhat.com/browse/RHEL-80382

commit af000ce85293b8e608f696f0c6c280bc3a75887f
Author: Michal Koutný <mkoutny@suse.com>
Date:   Mon Sep 9 18:32:23 2024 +0200

    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>

Signed-off-by: Radostin Stoyanov <rstoyano@redhat.com>
2025-04-28 11:26:39 +01:00
..
Makefile
cgroup-internal.h Revert "Revert "Merge: cgroup: Backport upstream cgroup commits up to v6.8"" 2024-05-18 21:38:20 -04:00
cgroup-v1.c cgroup: Do not report unavailable v1 controllers in /proc/cgroups 2025-04-28 11:26:39 +01:00
cgroup.c cgroup: Fix potential overflow issue when checking max_depth 2025-04-28 10:54:34 +01:00
cpuset.c cgroup/cpuset: Check for partition roots with overlapping CPUs 2025-04-28 10:54:34 +01:00
debug.c
freezer.c
legacy_freezer.c cgroup, legacy_freezer: update comment for freezer_css_offline() 2024-09-30 09:47:00 -04:00
misc.c cgroup/misc: Introduce misc.events.local 2024-09-30 09:47:02 -04:00
namespace.c Revert "Revert "Merge: cgroup: Backport upstream cgroup commits up to v6.8"" 2024-05-18 21:38:20 -04:00
pids.c cgroup/pids: Avoid spurious event notification 2024-09-30 09:47:03 -04:00
rdma.c rdmacg: fix kernel-doc warnings in rdmacg 2023-11-08 14:47:35 -05:00
rstat.c cgroup: Remove steal time from usage_usec 2025-02-25 09:25:32 -05:00