cgroup_subsys.h 1.1 KB

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