cgroup_subsys.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. /*
  50. * The following subsystems are not supported on the default hierarchy.
  51. */
  52. #if IS_ENABLED(CONFIG_CGROUP_DEBUG)
  53. SUBSYS(debug)
  54. #endif
  55. /*
  56. * DO NOT ADD ANY SUBSYSTEM WITHOUT EXPLICIT ACKS FROM CGROUP MAINTAINERS.
  57. */