----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74872/ -----------------------------------------------------------
Review request for mesos. Repository: mesos Description ------- Introduces: - `cgroups2::mount()`: Mount a cgroup2 hierarchy. - `cgroups2::mount_or_create()`: Mount a cgroup2 hierarchy or use an existing hierarchy if one is available. - `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()`, `mountOrCreate()`, and `unmount()` methods. Diffs ----- src/linux/cgroups2.hpp PRE-CREATION src/linux/cgroups2.cpp PRE-CREATION Diff: https://reviews.apache.org/r/74872/diff/1/ Testing ------- Thanks, Devin Leamy
