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

source code of linux/include/linux/cgroup_subsys.h