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

Review request for mesos and Benjamin Mahler.


Repository: mesos


Description
-------

There are several cgroup controls that only exist for non-root cgroups.
E.g. "cpu.weight", "cpu.idle", "cpu-max"

We introduce a marco to return with an error from functions that should not be
called with the root cgroup. This will be used extensively when implementing
APIs for each of the cgroup v2 subsystems.


Diffs
-----

  src/linux/cgroups2.cpp eff44f11ea5a0223b284d6dcd63eebb809b2a872 


Diff: https://reviews.apache.org/r/74933/diff/1/


Testing
-------


Thanks,

Devin Leamy

Reply via email to