Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
add0c59d TH |
2 | /* |
3 | * List of cgroup subsystems. | |
4 | * | |
5 | * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. | |
ddbcc7e8 | 6 | */ |
7e47682e AS |
7 | |
8 | /* | |
9 | * This file *must* be included with SUBSYS() defined. | |
7e47682e AS |
10 | */ |
11 | ||
3ed80a62 | 12 | #if IS_ENABLED(CONFIG_CPUSETS) |
8793d854 PM |
13 | SUBSYS(cpuset) |
14 | #endif | |
15 | ||
3ed80a62 | 16 | #if IS_ENABLED(CONFIG_CGROUP_SCHED) |
073219e9 | 17 | SUBSYS(cpu) |
68318b8e SV |
18 | #endif |
19 | ||
3ed80a62 | 20 | #if IS_ENABLED(CONFIG_CGROUP_CPUACCT) |
d842de87 SV |
21 | SUBSYS(cpuacct) |
22 | #endif | |
23 | ||
24dab7a7 | 24 | #if IS_ENABLED(CONFIG_BLK_CGROUP) |
c165b3e3 | 25 | SUBSYS(io) |
24dab7a7 TH |
26 | #endif |
27 | ||
3ed80a62 | 28 | #if IS_ENABLED(CONFIG_MEMCG) |
073219e9 | 29 | SUBSYS(memory) |
8cdea7c0 BS |
30 | #endif |
31 | ||
3ed80a62 | 32 | #if IS_ENABLED(CONFIG_CGROUP_DEVICE) |
08ce5f16 SH |
33 | SUBSYS(devices) |
34 | #endif | |
35 | ||
3ed80a62 | 36 | #if IS_ENABLED(CONFIG_CGROUP_FREEZER) |
dc52ddc0 MH |
37 | SUBSYS(freezer) |
38 | #endif | |
39 | ||
3ed80a62 | 40 | #if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID) |
f4009237 TG |
41 | SUBSYS(net_cls) |
42 | #endif | |
43 | ||
3ed80a62 | 44 | #if IS_ENABLED(CONFIG_CGROUP_PERF) |
073219e9 | 45 | SUBSYS(perf_event) |
e5d1367f SE |
46 | #endif |
47 | ||
3ed80a62 | 48 | #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO) |
5bc1421e NH |
49 | SUBSYS(net_prio) |
50 | #endif | |
51 | ||
3ed80a62 | 52 | #if IS_ENABLED(CONFIG_CGROUP_HUGETLB) |
2bc64a20 AK |
53 | SUBSYS(hugetlb) |
54 | #endif | |
5533e011 | 55 | |
49b786ea AS |
56 | #if IS_ENABLED(CONFIG_CGROUP_PIDS) |
57 | SUBSYS(pids) | |
58 | #endif | |
59 | ||
39d3e758 PP |
60 | #if IS_ENABLED(CONFIG_CGROUP_RDMA) |
61 | SUBSYS(rdma) | |
62 | #endif | |
63 | ||
a72232ea VS |
64 | #if IS_ENABLED(CONFIG_CGROUP_MISC) |
65 | SUBSYS(misc) | |
66 | #endif | |
67 | ||
5533e011 TH |
68 | /* |
69 | * The following subsystems are not supported on the default hierarchy. | |
70 | */ | |
71 | #if IS_ENABLED(CONFIG_CGROUP_DEBUG) | |
72 | SUBSYS(debug) | |
73 | #endif | |
7e47682e | 74 | |
add0c59d TH |
75 | /* |
76 | * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. | |
77 | */ |