cgroup_subsys.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * List of cgroup subsystems.
  4. *
  5. * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
  6. */
  7. /*
  8. * This file *must* be included with SUBSYS() defined.
  9. */
  10. #if IS_ENABLED(CONFIG_CPUSETS)
  11. SUBSYS(cpuset)
  12. #endif
  13. #if IS_ENABLED(CONFIG_CGROUP_SCHED)
  14. SUBSYS(cpu)
  15. #endif
  16. #if IS_ENABLED(CONFIG_CGROUP_CPUACCT)
  17. SUBSYS(cpuacct)
  18. #endif
  19. #if IS_ENABLED(CONFIG_BLK_CGROUP)
  20. SUBSYS(io)
  21. #endif
  22. #if IS_ENABLED(CONFIG_MEMCG)
  23. SUBSYS(memory)
  24. #endif
  25. #if IS_ENABLED(CONFIG_CGROUP_DEVICE)
  26. SUBSYS(devices)
  27. #endif
  28. #if IS_ENABLED(CONFIG_CGROUP_FREEZER)
  29. SUBSYS(freezer)
  30. #endif
  31. #if IS_ENABLED(CONFIG_CGROUP_NET_CLASSID)
  32. SUBSYS(net_cls)
  33. #endif
  34. #if IS_ENABLED(CONFIG_CGROUP_PERF)
  35. SUBSYS(perf_event)
  36. #endif
  37. #if IS_ENABLED(CONFIG_CGROUP_NET_PRIO)
  38. SUBSYS(net_prio)
  39. #endif
  40. #if IS_ENABLED(CONFIG_CGROUP_HUGETLB)
  41. SUBSYS(hugetlb)
  42. #endif
  43. #if IS_ENABLED(CONFIG_CGROUP_PIDS)
  44. SUBSYS(pids)
  45. #endif
  46. #if IS_ENABLED(CONFIG_CGROUP_RDMA)
  47. SUBSYS(rdma)
  48. #endif
  49. #if IS_ENABLED(CONFIG_CGROUP_MISC)
  50. SUBSYS(misc)
  51. #endif
  52. /*
  53. * The following subsystems are not supported on the default hierarchy.
  54. */
  55. #if IS_ENABLED(CONFIG_CGROUP_DEBUG)
  56. SUBSYS(debug)
  57. #endif
  58. /*
  59. * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
  60. */