-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74872/
-----------------------------------------------------------

(Updated Feb. 26, 2024, 8:59 p.m.)


Review request for mesos.


Repository: mesos


Description (updated)
-------

Introduces:
- `cgroups2::mount()`: Mount a cgroup2 hierarchy.
- `cgroups2::find_mount()`: Find an existing cgroup2 hierarchy.
- `cgroups2::unmount()`: Unmount the cgroup2 hierarchy, if it was not
  pre-existing.
- `cgroups2::cleanup()`: Unmount the cgroup2 hierarchy and cleanup
  cgroups2. Does nothing if no hierarchy is mounted.

The mount point is stored in a global variable that is set and unset by
the `mount()` and `unmount()` methods.


Diffs (updated)
-----

  src/linux/cgroups2.hpp 833960d301335541f0bb7ad5c0e05e7222d7bc06 
  src/linux/cgroups2.cpp 6beb8dd2c43f548dd86be16e828b4abfe6fa3fd3 


Diff: https://reviews.apache.org/r/74872/diff/2/

Changes: https://reviews.apache.org/r/74872/diff/1-2/


Testing
-------


Thanks,

Devin Leamy

Reply via email to