xref: /linux-6.15/include/linux/cgroup_subsys.h (revision 1f330c32)
1 /*
2  * List of cgroup subsystems.
3  *
4  * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
5  */
6 
7 /*
8  * This file *must* be included with SUBSYS() defined.
9  */
10 
11 #if IS_ENABLED(CONFIG_CPUSETS)
12 SUBSYS(cpuset)
13 #endif
14 
15 #if IS_ENABLED(CONFIG_CGROUP_SCHED)
16 SUBSYS(cpu)
17 #endif
18 
19 #if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
20 SUBSYS(cpuacct)
21 #endif
22 
23 #if IS_ENABLED(CONFIG_BLK_CGROUP)
24 SUBSYS(io)
25 #endif
26 
27 #if IS_ENABLED(CONFIG_MEMCG)
28 SUBSYS(memory)
29 #endif
30 
31 #if IS_ENABLED(CONFIG_CGROUP_DEVICE)
32 SUBSYS(devices)
33 #endif
34 
35 #if IS_ENABLED(CONFIG_CGROUP_FREEZER)
36 SUBSYS(freezer)
37 #endif
38 
39 #if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
40 SUBSYS(net_cls)
41 #endif
42 
43 #if IS_ENABLED(CONFIG_CGROUP_PERF)
44 SUBSYS(perf_event)
45 #endif
46 
47 #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
48 SUBSYS(net_prio)
49 #endif
50 
51 #if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
52 SUBSYS(hugetlb)
53 #endif
54 
55 #if IS_ENABLED(CONFIG_CGROUP_PIDS)
56 SUBSYS(pids)
57 #endif
58 
59 /*
60  * The following subsystems are not supported on the default hierarchy.
61  */
62 #if IS_ENABLED(CONFIG_CGROUP_DEBUG)
63 SUBSYS(debug)
64 #endif
65 
66 /*
67  * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
68  */
69