[cgroups2] Support DeviceManager in GPU isolator.

Currently, the GPU isolator assumes we are only using cgroups v1, and
makes use of the cgroups::devices::allow and deny functions to control
GPU access.

In Cgroups2, we need to attach ebpf programs for the specific cgroups,
which is done for us in the DeviceManager. Hence, we need to use the
DeviceManager in the GPU isolator depending on whether cgroups v1 or v2
is currently mounted.

Review: https://reviews.apache.org/r/75074/
3 files changed
tree: fc214bce71679b9a8d544f961116c49787fafb45
  1. 3rdparty/
  2. bin/
  3. cmake/
  4. docs/
  5. include/
  6. m4/
  7. site/
  8. src/
  9. support/
  10. .asf.yaml
  11. .gitattributes
  12. bootstrap
  13. CHANGELOG
  14. CMakeLists.txt
  15. configure.ac
  16. Doxyfile
  17. LICENSE
  18. Makefile.am
  19. mesos.pc.in
  20. NOTICE
  21. README.md
README.md

Apache Mesos

Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks. It can run Hadoop, Jenkins, Spark, Aurora, and other frameworks on a dynamically shared pool of nodes.

Visit us at mesos.apache.org.

Mailing Lists

Documentation

Documentation is available in the docs/ directory. Additionally, a rendered HTML version can be found on the Mesos website's Documentation page.

Installation

Instructions are included on the Getting Started page.

License

Apache Mesos is licensed under the Apache License, Version 2.0.

For additional information, see the LICENSE and NOTICE files.