blob: acb77dcff3b41dbb5d265ee358b1a6958d809c11 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Tejun Heoadd0c592013-07-09 16:17:39 -07002/*
3 * List of cgroup subsystems.
4 *
5 * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
Paul Menageddbcc7e2007-10-18 23:39:30 -07006 */
Aleksa Sarai7e476822015-06-09 21:32:09 +10007
8/*
9 * This file *must* be included with SUBSYS() defined.
Aleksa Sarai7e476822015-06-09 21:32:09 +100010 */
11
Tejun Heo3ed80a62014-02-08 10:36:58 -050012#if IS_ENABLED(CONFIG_CPUSETS)
Paul Menage8793d852007-10-18 23:39:39 -070013SUBSYS(cpuset)
14#endif
15
Tejun Heo3ed80a62014-02-08 10:36:58 -050016#if IS_ENABLED(CONFIG_CGROUP_SCHED)
Tejun Heo073219e2014-02-08 10:36:58 -050017SUBSYS(cpu)
Srivatsa Vaddagiri68318b82007-10-18 23:41:03 -070018#endif
19
Tejun Heo3ed80a62014-02-08 10:36:58 -050020#if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
Srivatsa Vaddagirid842de82007-12-02 20:04:49 +010021SUBSYS(cpuacct)
22#endif
23
Tejun Heo24dab7a2015-01-06 12:02:46 -050024#if IS_ENABLED(CONFIG_BLK_CGROUP)
Tejun Heoc165b3e2015-08-18 14:55:29 -070025SUBSYS(io)
Tejun Heo24dab7a2015-01-06 12:02:46 -050026#endif
27
Tejun Heo3ed80a62014-02-08 10:36:58 -050028#if IS_ENABLED(CONFIG_MEMCG)
Tejun Heo073219e2014-02-08 10:36:58 -050029SUBSYS(memory)
Balbir Singh8cdea7c2008-02-07 00:13:50 -080030#endif
31
Tejun Heo3ed80a62014-02-08 10:36:58 -050032#if IS_ENABLED(CONFIG_CGROUP_DEVICE)
Serge E. Hallyn08ce5f12008-04-29 01:00:10 -070033SUBSYS(devices)
34#endif
35
Tejun Heo3ed80a62014-02-08 10:36:58 -050036#if IS_ENABLED(CONFIG_CGROUP_FREEZER)
Matt Helsleydc52ddc2008-10-18 20:27:21 -070037SUBSYS(freezer)
38#endif
39
Tejun Heo3ed80a62014-02-08 10:36:58 -050040#if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
Thomas Graff4009232008-11-07 22:56:00 -080041SUBSYS(net_cls)
42#endif
43
Tejun Heo3ed80a62014-02-08 10:36:58 -050044#if IS_ENABLED(CONFIG_CGROUP_PERF)
Tejun Heo073219e2014-02-08 10:36:58 -050045SUBSYS(perf_event)
Stephane Eraniane5d13672011-02-14 11:20:01 +020046#endif
47
Tejun Heo3ed80a62014-02-08 10:36:58 -050048#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
Neil Horman5bc14212011-11-22 05:10:51 +000049SUBSYS(net_prio)
50#endif
51
Tejun Heo3ed80a62014-02-08 10:36:58 -050052#if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
Aneesh Kumar K.V2bc64a22012-07-31 16:42:12 -070053SUBSYS(hugetlb)
54#endif
Tejun Heo5533e012014-05-14 19:33:07 -040055
Aleksa Sarai49b786e2015-06-09 21:32:10 +100056#if IS_ENABLED(CONFIG_CGROUP_PIDS)
57SUBSYS(pids)
58#endif
59
Parav Pandit39d3e752017-01-10 00:02:13 +000060#if IS_ENABLED(CONFIG_CGROUP_RDMA)
61SUBSYS(rdma)
62#endif
63
Aleksa Sarai7e476822015-06-09 21:32:09 +100064/*
Tejun Heo5533e012014-05-14 19:33:07 -040065 * The following subsystems are not supported on the default hierarchy.
66 */
67#if IS_ENABLED(CONFIG_CGROUP_DEBUG)
68SUBSYS(debug)
69#endif
Aleksa Sarai7e476822015-06-09 21:32:09 +100070
Tejun Heoadd0c592013-07-09 16:17:39 -070071/*
72 * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
73 */