aboutsummaryrefslogtreecommitdiff
path: root/include/linux/cgroup_subsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cgroup_subsys.h')
-rw-r--r--include/linux/cgroup_subsys.h86
1 files changed, 86 insertions, 0 deletions
diff --git a/include/linux/cgroup_subsys.h b/include/linux/cgroup_subsys.h
new file mode 100644
index 000000000..6e7ec64b6
--- /dev/null
+++ b/include/linux/cgroup_subsys.h
@@ -0,0 +1,86 @@
+/* Add subsystem definitions of the form SUBSYS(<name>) in this
+ * file. Surround each one by a line of comment markers so that
+ * patches don't collide
+ */
+
+/* */
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_CPUSETS)
+SUBSYS(cpuset)
+#endif
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_CGROUP_DEBUG)
+SUBSYS(debug)
+#endif
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_CGROUP_SCHED)
+SUBSYS(cpu_cgroup)
+#endif
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_CGROUP_CPUACCT)
+SUBSYS(cpuacct)
+#endif
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_MEMCG)
+SUBSYS(mem_cgroup)
+#endif
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_CGROUP_DEVICE)
+SUBSYS(devices)
+#endif
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_CGROUP_FREEZER)
+SUBSYS(freezer)
+#endif
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_NET_CLS_CGROUP)
+SUBSYS(net_cls)
+#endif
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_BLK_CGROUP)
+SUBSYS(blkio)
+#endif
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_CGROUP_PERF)
+SUBSYS(perf)
+#endif
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_NETPRIO_CGROUP)
+SUBSYS(net_prio)
+#endif
+
+/* */
+
+#if IS_SUBSYS_ENABLED(CONFIG_CGROUP_HUGETLB)
+SUBSYS(hugetlb)
+#endif
+
+/* */
+
+#ifdef CONFIG_CGROUP_BCACHE
+SUBSYS(bcache)
+#endif
+
+/* */