blob: ec43bce7e1ea188a3efc365deee55c95546e4eb0 [file] [log] [blame]
Tejun Heoadd0c592013-07-09 16:17:39 -07001/*
2 * List of cgroup subsystems.
3 *
4 * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
Paul Menageddbcc7e2007-10-18 23:39:30 -07005 */
Aleksa Sarai7e476822015-06-09 21:32:09 +10006
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 Heo3ed80a62014-02-08 10:36:58 -050017#if IS_ENABLED(CONFIG_CPUSETS)
Paul Menage8793d852007-10-18 23:39:39 -070018SUBSYS(cpuset)
19#endif
20
Tejun Heo3ed80a62014-02-08 10:36:58 -050021#if IS_ENABLED(CONFIG_CGROUP_SCHED)
Tejun Heo073219e2014-02-08 10:36:58 -050022SUBSYS(cpu)
Srivatsa Vaddagiri68318b82007-10-18 23:41:03 -070023#endif
24
Tejun Heo3ed80a62014-02-08 10:36:58 -050025#if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
Srivatsa Vaddagirid842de82007-12-02 20:04:49 +010026SUBSYS(cpuacct)
27#endif
28
Tejun Heo24dab7a2015-01-06 12:02:46 -050029#if IS_ENABLED(CONFIG_BLK_CGROUP)
30SUBSYS(blkio)
31#endif
32
Tejun Heo3ed80a62014-02-08 10:36:58 -050033#if IS_ENABLED(CONFIG_MEMCG)
Tejun Heo073219e2014-02-08 10:36:58 -050034SUBSYS(memory)
Balbir Singh8cdea7c2008-02-07 00:13:50 -080035#endif
36
Tejun Heo3ed80a62014-02-08 10:36:58 -050037#if IS_ENABLED(CONFIG_CGROUP_DEVICE)
Serge E. Hallyn08ce5f12008-04-29 01:00:10 -070038SUBSYS(devices)
39#endif
40
Tejun Heo3ed80a62014-02-08 10:36:58 -050041#if IS_ENABLED(CONFIG_CGROUP_FREEZER)
Matt Helsleydc52ddc2008-10-18 20:27:21 -070042SUBSYS(freezer)
43#endif
44
Tejun Heo3ed80a62014-02-08 10:36:58 -050045#if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
Thomas Graff4009232008-11-07 22:56:00 -080046SUBSYS(net_cls)
47#endif
48
Tejun Heo3ed80a62014-02-08 10:36:58 -050049#if IS_ENABLED(CONFIG_CGROUP_PERF)
Tejun Heo073219e2014-02-08 10:36:58 -050050SUBSYS(perf_event)
Stephane Eraniane5d13672011-02-14 11:20:01 +020051#endif
52
Tejun Heo3ed80a62014-02-08 10:36:58 -050053#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
Neil Horman5bc14212011-11-22 05:10:51 +000054SUBSYS(net_prio)
55#endif
56
Tejun Heo3ed80a62014-02-08 10:36:58 -050057#if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
Aneesh Kumar K.V2bc64a22012-07-31 16:42:12 -070058SUBSYS(hugetlb)
59#endif
Tejun Heo5533e012014-05-14 19:33:07 -040060
61/*
Aleksa Sarai7e476822015-06-09 21:32:09 +100062 * Subsystems that implement the can_fork() family of callbacks.
63 */
64SUBSYS_TAG(CANFORK_START)
65SUBSYS_TAG(CANFORK_END)
66
67/*
Tejun Heo5533e012014-05-14 19:33:07 -040068 * The following subsystems are not supported on the default hierarchy.
69 */
70#if IS_ENABLED(CONFIG_CGROUP_DEBUG)
71SUBSYS(debug)
72#endif
Aleksa Sarai7e476822015-06-09 21:32:09 +100073
74#ifdef __TMP_SUBSYS_TAG
75#undef __TMP_SUBSYS_TAG
76#undef SUBSYS_TAG
77#endif
78
Tejun Heoadd0c592013-07-09 16:17:39 -070079/*
80 * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
81 */