Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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)
18SUBSYS(cpuset)
19#endif
20
21#if IS_ENABLED(CONFIG_CGROUP_SCHED)
22SUBSYS(cpu)
23#endif
24
25#if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
26SUBSYS(cpuacct)
27#endif
28
29#if IS_ENABLED(CONFIG_BLK_CGROUP)
30SUBSYS(io)
31#endif
32
33#if IS_ENABLED(CONFIG_MEMCG)
34SUBSYS(memory)
35#endif
36
37#if IS_ENABLED(CONFIG_CGROUP_DEVICE)
38SUBSYS(devices)
39#endif
40
41#if IS_ENABLED(CONFIG_CGROUP_FREEZER)
42SUBSYS(freezer)
43#endif
44
45#if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
46SUBSYS(net_cls)
47#endif
48
49#if IS_ENABLED(CONFIG_CGROUP_PERF)
50SUBSYS(perf_event)
51#endif
52
53#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
54SUBSYS(net_prio)
55#endif
56
57#if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
58SUBSYS(hugetlb)
59#endif
60
61/*
62 * Subsystems that implement the can_fork() family of callbacks.
63 */
64SUBSYS_TAG(CANFORK_START)
65
66#if IS_ENABLED(CONFIG_CGROUP_PIDS)
67SUBSYS(pids)
68#endif
69
70SUBSYS_TAG(CANFORK_END)
71
72/*
73 * The following subsystems are not supported on the default hierarchy.
74 */
75#if IS_ENABLED(CONFIG_CGROUP_DEBUG)
76SUBSYS(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 */