Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Tejun Heo | add0c59 | 2013-07-09 16:17:39 -0700 | [diff] [blame] | 2 | /* |
3 | * List of cgroup subsystems. | ||||
4 | * | ||||
5 | * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. | ||||
Paul Menage | ddbcc7e | 2007-10-18 23:39:30 -0700 | [diff] [blame] | 6 | */ |
Aleksa Sarai | 7e47682 | 2015-06-09 21:32:09 +1000 | [diff] [blame] | 7 | |
8 | /* | ||||
9 | * This file *must* be included with SUBSYS() defined. | ||||
Aleksa Sarai | 7e47682 | 2015-06-09 21:32:09 +1000 | [diff] [blame] | 10 | */ |
11 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 12 | #if IS_ENABLED(CONFIG_CPUSETS) |
Paul Menage | 8793d85 | 2007-10-18 23:39:39 -0700 | [diff] [blame] | 13 | SUBSYS(cpuset) |
14 | #endif | ||||
15 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 16 | #if IS_ENABLED(CONFIG_CGROUP_SCHED) |
Tejun Heo | 073219e | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 17 | SUBSYS(cpu) |
Srivatsa Vaddagiri | 68318b8 | 2007-10-18 23:41:03 -0700 | [diff] [blame] | 18 | #endif |
19 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 20 | #if IS_ENABLED(CONFIG_CGROUP_CPUACCT) |
Srivatsa Vaddagiri | d842de8 | 2007-12-02 20:04:49 +0100 | [diff] [blame] | 21 | SUBSYS(cpuacct) |
22 | #endif | ||||
23 | |||||
Tejun Heo | 24dab7a | 2015-01-06 12:02:46 -0500 | [diff] [blame] | 24 | #if IS_ENABLED(CONFIG_BLK_CGROUP) |
Tejun Heo | c165b3e | 2015-08-18 14:55:29 -0700 | [diff] [blame] | 25 | SUBSYS(io) |
Tejun Heo | 24dab7a | 2015-01-06 12:02:46 -0500 | [diff] [blame] | 26 | #endif |
27 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 28 | #if IS_ENABLED(CONFIG_MEMCG) |
Tejun Heo | 073219e | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 29 | SUBSYS(memory) |
Balbir Singh | 8cdea7c | 2008-02-07 00:13:50 -0800 | [diff] [blame] | 30 | #endif |
31 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 32 | #if IS_ENABLED(CONFIG_CGROUP_DEVICE) |
Serge E. Hallyn | 08ce5f1 | 2008-04-29 01:00:10 -0700 | [diff] [blame] | 33 | SUBSYS(devices) |
34 | #endif | ||||
35 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 36 | #if IS_ENABLED(CONFIG_CGROUP_FREEZER) |
Matt Helsley | dc52ddc | 2008-10-18 20:27:21 -0700 | [diff] [blame] | 37 | SUBSYS(freezer) |
38 | #endif | ||||
39 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 40 | #if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID) |
Thomas Graf | f400923 | 2008-11-07 22:56:00 -0800 | [diff] [blame] | 41 | SUBSYS(net_cls) |
42 | #endif | ||||
43 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 44 | #if IS_ENABLED(CONFIG_CGROUP_PERF) |
Tejun Heo | 073219e | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 45 | SUBSYS(perf_event) |
Stephane Eranian | e5d1367 | 2011-02-14 11:20:01 +0200 | [diff] [blame] | 46 | #endif |
47 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 48 | #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO) |
Neil Horman | 5bc1421 | 2011-11-22 05:10:51 +0000 | [diff] [blame] | 49 | SUBSYS(net_prio) |
50 | #endif | ||||
51 | |||||
Tejun Heo | 3ed80a6 | 2014-02-08 10:36:58 -0500 | [diff] [blame] | 52 | #if IS_ENABLED(CONFIG_CGROUP_HUGETLB) |
Aneesh Kumar K.V | 2bc64a2 | 2012-07-31 16:42:12 -0700 | [diff] [blame] | 53 | SUBSYS(hugetlb) |
54 | #endif | ||||
Tejun Heo | 5533e01 | 2014-05-14 19:33:07 -0400 | [diff] [blame] | 55 | |
Aleksa Sarai | 49b786e | 2015-06-09 21:32:10 +1000 | [diff] [blame] | 56 | #if IS_ENABLED(CONFIG_CGROUP_PIDS) |
57 | SUBSYS(pids) | ||||
58 | #endif | ||||
59 | |||||
Parav Pandit | 39d3e75 | 2017-01-10 00:02:13 +0000 | [diff] [blame] | 60 | #if IS_ENABLED(CONFIG_CGROUP_RDMA) |
61 | SUBSYS(rdma) | ||||
62 | #endif | ||||
63 | |||||
Aleksa Sarai | 7e47682 | 2015-06-09 21:32:09 +1000 | [diff] [blame] | 64 | /* |
Tejun Heo | 5533e01 | 2014-05-14 19:33:07 -0400 | [diff] [blame] | 65 | * The following subsystems are not supported on the default hierarchy. |
66 | */ | ||||
67 | #if IS_ENABLED(CONFIG_CGROUP_DEBUG) | ||||
68 | SUBSYS(debug) | ||||
69 | #endif | ||||
Aleksa Sarai | 7e47682 | 2015-06-09 21:32:09 +1000 | [diff] [blame] | 70 | |
Tejun Heo | add0c59 | 2013-07-09 16:17:39 -0700 | [diff] [blame] | 71 | /* |
72 | * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS. | ||||
73 | */ |