Files
linux-apfs/include/linux/cgroup_subsys.h
T

87 lines
1.4 KiB
C
Raw Normal View History

/*
* List of cgroup subsystems.
*
* DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
*/
/*
* This file *must* be included with SUBSYS() defined.
* SUBSYS_TAG() is a noop if undefined.
*/
#ifndef SUBSYS_TAG
#define __TMP_SUBSYS_TAG
#define SUBSYS_TAG(_x)
#endif
2014-02-08 10:36:58 -05:00
#if IS_ENABLED(CONFIG_CPUSETS)
SUBSYS(cpuset)
#endif
2014-02-08 10:36:58 -05:00
#if IS_ENABLED(CONFIG_CGROUP_SCHED)
SUBSYS(cpu)
2007-10-18 23:41:03 -07:00
#endif
2014-02-08 10:36:58 -05:00
#if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
2007-12-02 20:04:49 +01:00
SUBSYS(cpuacct)
#endif
#if IS_ENABLED(CONFIG_BLK_CGROUP)
SUBSYS(io)
#endif
2014-02-08 10:36:58 -05:00
#if IS_ENABLED(CONFIG_MEMCG)
SUBSYS(memory)
2008-02-07 00:13:50 -08:00
#endif
2014-02-08 10:36:58 -05:00
#if IS_ENABLED(CONFIG_CGROUP_DEVICE)
2008-04-29 01:00:10 -07:00
SUBSYS(devices)
#endif
2014-02-08 10:36:58 -05:00
#if IS_ENABLED(CONFIG_CGROUP_FREEZER)
SUBSYS(freezer)
#endif
2014-02-08 10:36:58 -05:00
#if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
2008-11-07 22:56:00 -08:00
SUBSYS(net_cls)
#endif
2014-02-08 10:36:58 -05:00
#if IS_ENABLED(CONFIG_CGROUP_PERF)
SUBSYS(perf_event)
2011-02-14 11:20:01 +02:00
#endif
2014-02-08 10:36:58 -05:00
#if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
SUBSYS(net_prio)
#endif
2014-02-08 10:36:58 -05:00
#if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
2012-07-31 16:42:12 -07:00
SUBSYS(hugetlb)
#endif
/*
* Subsystems that implement the can_fork() family of callbacks.
*/
SUBSYS_TAG(CANFORK_START)
2015-06-09 21:32:10 +10:00
#if IS_ENABLED(CONFIG_CGROUP_PIDS)
SUBSYS(pids)
#endif
SUBSYS_TAG(CANFORK_END)
/*
* The following subsystems are not supported on the default hierarchy.
*/
#if IS_ENABLED(CONFIG_CGROUP_DEBUG)
SUBSYS(debug)
#endif
#ifdef __TMP_SUBSYS_TAG
#undef __TMP_SUBSYS_TAG
#undef SUBSYS_TAG
#endif
/*
* DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
*/