xref: /linux/include/linux/cgroup_subsys.h (revision 946661e3bef8efa11ba8079d4ebafe6fc3b0aaad)
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)
13  SUBSYS(cpuset)
14  #endif
15  
16  #if IS_ENABLED(CONFIG_CGROUP_SCHED)
17  SUBSYS(cpu)
18  #endif
19  
20  #if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
21  SUBSYS(cpuacct)
22  #endif
23  
24  #if IS_ENABLED(CONFIG_BLK_CGROUP)
25  SUBSYS(io)
26  #endif
27  
28  #if IS_ENABLED(CONFIG_MEMCG)
29  SUBSYS(memory)
30  #endif
31  
32  #if IS_ENABLED(CONFIG_CGROUP_DEVICE)
33  SUBSYS(devices)
34  #endif
35  
36  #if IS_ENABLED(CONFIG_CGROUP_FREEZER)
37  SUBSYS(freezer)
38  #endif
39  
40  #if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
41  SUBSYS(net_cls)
42  #endif
43  
44  #if IS_ENABLED(CONFIG_CGROUP_PERF)
45  SUBSYS(perf_event)
46  #endif
47  
48  #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
49  SUBSYS(net_prio)
50  #endif
51  
52  #if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
53  SUBSYS(hugetlb)
54  #endif
55  
56  #if IS_ENABLED(CONFIG_CGROUP_PIDS)
57  SUBSYS(pids)
58  #endif
59  
60  #if IS_ENABLED(CONFIG_CGROUP_RDMA)
61  SUBSYS(rdma)
62  #endif
63  
64  #if IS_ENABLED(CONFIG_CGROUP_MISC)
65  SUBSYS(misc)
66  #endif
67  
68  #if IS_ENABLED(CONFIG_CGROUP_DMEM)
69  SUBSYS(dmem)
70  #endif
71  
72  /*
73   * The following subsystems are not supported on the default hierarchy.
74   */
75  #if IS_ENABLED(CONFIG_CGROUP_DEBUG)
76  SUBSYS(debug)
77  #endif
78  
79  /*
80   * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
81   */
82