1 /* 2 * List of cgroup subsystems. 3 * 4 * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. 5 */ 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 17 #if IS_ENABLED(CONFIG_CPUSETS) 18 SUBSYS(cpuset) 19 #endif 20 21 #if IS_ENABLED(CONFIG_CGROUP_SCHED) 22 SUBSYS(cpu) 23 #endif 24 25 #if IS_ENABLED(CONFIG_CGROUP_CPUACCT) 26 SUBSYS(cpuacct) 27 #endif 28 29 #if IS_ENABLED(CONFIG_BLK_CGROUP) 30 SUBSYS(io) 31 #endif 32 33 #if IS_ENABLED(CONFIG_MEMCG) 34 SUBSYS(memory) 35 #endif 36 37 #if IS_ENABLED(CONFIG_CGROUP_DEVICE) 38 SUBSYS(devices) 39 #endif 40 41 #if IS_ENABLED(CONFIG_CGROUP_FREEZER) 42 SUBSYS(freezer) 43 #endif 44 45 #if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID) 46 SUBSYS(net_cls) 47 #endif 48 49 #if IS_ENABLED(CONFIG_CGROUP_PERF) 50 SUBSYS(perf_event) 51 #endif 52 53 #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO) 54 SUBSYS(net_prio) 55 #endif 56 57 #if IS_ENABLED(CONFIG_CGROUP_HUGETLB) 58 SUBSYS(hugetlb) 59 #endif 60 61 /* 62 * Subsystems that implement the can_fork() family of callbacks. 63 */ 64 SUBSYS_TAG(CANFORK_START) 65 66 #if IS_ENABLED(CONFIG_CGROUP_PIDS) 67 SUBSYS(pids) 68 #endif 69 70 SUBSYS_TAG(CANFORK_END) 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 #ifdef __TMP_SUBSYS_TAG 80 #undef __TMP_SUBSYS_TAG 81 #undef SUBSYS_TAG 82 #endif 83 84 /* 85 * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. 86 */ 87