From d2e1446d81725c351dc73a03b397ce043fb18452 Mon Sep 17 00:00:00 2001 From: Meizu OpenSource Date: Mon, 15 Aug 2016 10:19:42 +0800 Subject: first commit --- include/linux/cgroup_subsys.h | 86 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 include/linux/cgroup_subsys.h (limited to 'include/linux/cgroup_subsys.h') 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() 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 + +/* */ -- cgit v1.2.3