Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 | /* |
| 65 | * The following subsystems are not supported on the default hierarchy. |
| 66 | */ |
| 67 | #if IS_ENABLED(CONFIG_CGROUP_DEBUG) |
| 68 | SUBSYS(debug) |
| 69 | #endif |
| 70 | |
| 71 | /* |
| 72 | * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. |
| 73 | */ |