Commit | Line | Data |
---|---|---|
add0c59d TH |
1 | /* |
2 | * List of cgroup subsystems. | |
3 | * | |
4 | * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. | |
ddbcc7e8 | 5 | */ |
7e47682e AS |
6 | |
7 | /* | |
8 | * This file *must* be included with SUBSYS() defined. | |
9 | * SUBSYS_TAG() is a noop if undefined. | |
10 | */ | |
11 | ||
12 | #ifndef SUBSYS_TAG | |
13 | #define __TMP_SUBSYS_TAG | |
14 | #define SUBSYS_TAG(_x) | |
15 | #endif | |
16 | ||
3ed80a62 | 17 | #if IS_ENABLED(CONFIG_CPUSETS) |
8793d854 PM |
18 | SUBSYS(cpuset) |
19 | #endif | |
20 | ||
3ed80a62 | 21 | #if IS_ENABLED(CONFIG_CGROUP_SCHED) |
073219e9 | 22 | SUBSYS(cpu) |
68318b8e SV |
23 | #endif |
24 | ||
3ed80a62 | 25 | #if IS_ENABLED(CONFIG_CGROUP_CPUACCT) |
d842de87 SV |
26 | SUBSYS(cpuacct) |
27 | #endif | |
28 | ||
24dab7a7 | 29 | #if IS_ENABLED(CONFIG_BLK_CGROUP) |
c165b3e3 | 30 | SUBSYS(io) |
24dab7a7 TH |
31 | #endif |
32 | ||
3ed80a62 | 33 | #if IS_ENABLED(CONFIG_MEMCG) |
073219e9 | 34 | SUBSYS(memory) |
8cdea7c0 BS |
35 | #endif |
36 | ||
3ed80a62 | 37 | #if IS_ENABLED(CONFIG_CGROUP_DEVICE) |
08ce5f16 SH |
38 | SUBSYS(devices) |
39 | #endif | |
40 | ||
3ed80a62 | 41 | #if IS_ENABLED(CONFIG_CGROUP_FREEZER) |
dc52ddc0 MH |
42 | SUBSYS(freezer) |
43 | #endif | |
44 | ||
3ed80a62 | 45 | #if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID) |
f4009237 TG |
46 | SUBSYS(net_cls) |
47 | #endif | |
48 | ||
3ed80a62 | 49 | #if IS_ENABLED(CONFIG_CGROUP_PERF) |
073219e9 | 50 | SUBSYS(perf_event) |
e5d1367f SE |
51 | #endif |
52 | ||
3ed80a62 | 53 | #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO) |
5bc1421e NH |
54 | SUBSYS(net_prio) |
55 | #endif | |
56 | ||
3ed80a62 | 57 | #if IS_ENABLED(CONFIG_CGROUP_HUGETLB) |
2bc64a20 AK |
58 | SUBSYS(hugetlb) |
59 | #endif | |
5533e011 | 60 | |
7e47682e AS |
61 | /* |
62 | * Subsystems that implement the can_fork() family of callbacks. | |
63 | */ | |
64 | SUBSYS_TAG(CANFORK_START) | |
49b786ea AS |
65 | |
66 | #if IS_ENABLED(CONFIG_CGROUP_PIDS) | |
67 | SUBSYS(pids) | |
68 | #endif | |
69 | ||
7e47682e AS |
70 | SUBSYS_TAG(CANFORK_END) |
71 | ||
5533e011 TH |
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 | |
7e47682e AS |
78 | |
79 | #ifdef __TMP_SUBSYS_TAG | |
80 | #undef __TMP_SUBSYS_TAG | |
81 | #undef SUBSYS_TAG | |
82 | #endif | |
83 | ||
add0c59d TH |
84 | /* |
85 | * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. | |
86 | */ |