Tejun Heo | add0c59 | 2013-07-09 16:17:39 -0700 | [diff] [blame] | 1 | /* |
2 | * List of cgroup subsystems. | ||||
3 | * | ||||
4 | * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. | ||||
Paul Menage | ddbcc7e | 2007-10-18 23:39:30 -0700 | [diff] [blame] | 5 | */ |
Aleksa Sarai | 7e47682 | 2015-06-09 21:32:09 +1000 | [diff] [blame] | 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 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 17 | #if IS_ENABLED(CONFIG_CPUSETS) |
Paul Menage | 8793d85 | 2007-10-18 23:39:39 -0700 | [diff] [blame] | 18 | SUBSYS(cpuset) |
19 | #endif | ||||
20 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 21 | #if IS_ENABLED(CONFIG_CGROUP_SCHED) |
Tejun Heo | 073219e | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 22 | SUBSYS(cpu) |
Srivatsa Vaddagiri | 68318b8 | 2007-10-18 23:41:03 -0700 | [diff] [blame] | 23 | #endif |
24 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 25 | #if IS_ENABLED(CONFIG_CGROUP_CPUACCT) |
Srivatsa Vaddagiri | d842de8 | 2007-12-02 20:04:49 +0100 | [diff] [blame] | 26 | SUBSYS(cpuacct) |
27 | #endif | ||||
28 | |||||
Tejun Heo | 24dab7a | 2015-01-06 12:02:46 -0500 | [diff] [blame] | 29 | #if IS_ENABLED(CONFIG_BLK_CGROUP) |
Tejun Heo | c165b3e | 2015-08-18 14:55:29 -0700 | [diff] [blame] | 30 | SUBSYS(io) |
Tejun Heo | 24dab7a | 2015-01-06 12:02:46 -0500 | [diff] [blame] | 31 | #endif |
32 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 33 | #if IS_ENABLED(CONFIG_MEMCG) |
Tejun Heo | 073219e | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 34 | SUBSYS(memory) |
Balbir Singh | 8cdea7c | 2008-02-07 00:13:50 -0800 | [diff] [blame] | 35 | #endif |
36 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 37 | #if IS_ENABLED(CONFIG_CGROUP_DEVICE) |
Serge E. Hallyn | 08ce5f1 | 2008-04-29 01:00:10 -0700 | [diff] [blame] | 38 | SUBSYS(devices) |
39 | #endif | ||||
40 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 41 | #if IS_ENABLED(CONFIG_CGROUP_FREEZER) |
Matt Helsley | dc52ddc | 2008-10-18 20:27:21 -0700 | [diff] [blame] | 42 | SUBSYS(freezer) |
43 | #endif | ||||
44 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 45 | #if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID) |
Thomas Graf | f400923 | 2008-11-07 22:56:00 -0800 | [diff] [blame] | 46 | SUBSYS(net_cls) |
47 | #endif | ||||
48 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 49 | #if IS_ENABLED(CONFIG_CGROUP_PERF) |
Tejun Heo | 073219e | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 50 | SUBSYS(perf_event) |
Stephane Eranian | e5d1367 | 2011-02-14 11:20:01 +0200 | [diff] [blame] | 51 | #endif |
52 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 53 | #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO) |
Neil Horman | 5bc1421 | 2011-11-22 05:10:51 +0000 | [diff] [blame] | 54 | SUBSYS(net_prio) |
55 | #endif | ||||
56 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 57 | #if IS_ENABLED(CONFIG_CGROUP_HUGETLB) |
Aneesh Kumar K.V | 2bc64a2 | 2012-07-31 16:42:12 -0700 | [diff] [blame] | 58 | SUBSYS(hugetlb) |
59 | #endif | ||||
Tejun Heo | 5533e01 | 2014-05-14 19:33:07 -0400 | [diff] [blame] | 60 | |
61 | /* | ||||
Aleksa Sarai | 7e47682 | 2015-06-09 21:32:09 +1000 | [diff] [blame] | 62 | * Subsystems that implement the can_fork() family of callbacks. |
63 | */ | ||||
64 | SUBSYS_TAG(CANFORK_START) | ||||
Aleksa Sarai | 49b786e | 2015-06-09 21:32:10 +1000 | [diff] [blame] | 65 | |
66 | #if IS_ENABLED(CONFIG_CGROUP_PIDS) | ||||
67 | SUBSYS(pids) | ||||
68 | #endif | ||||
69 | |||||
Aleksa Sarai | 7e47682 | 2015-06-09 21:32:09 +1000 | [diff] [blame] | 70 | SUBSYS_TAG(CANFORK_END) |
71 | |||||
72 | /* | ||||
Tejun Heo | 5533e01 | 2014-05-14 19:33:07 -0400 | [diff] [blame] | 73 | * The following subsystems are not supported on the default hierarchy. |
74 | */ | ||||
75 | #if IS_ENABLED(CONFIG_CGROUP_DEBUG) | ||||
76 | SUBSYS(debug) | ||||
77 | #endif | ||||
Aleksa Sarai | 7e47682 | 2015-06-09 21:32:09 +1000 | [diff] [blame] | 78 | |
79 | #ifdef __TMP_SUBSYS_TAG | ||||
80 | #undef __TMP_SUBSYS_TAG | ||||
81 | #undef SUBSYS_TAG | ||||
82 | #endif | ||||
83 | |||||
Tejun Heo | add0c59 | 2013-07-09 16:17:39 -0700 | [diff] [blame] | 84 | /* |
85 | * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. | ||||
86 | */ |