mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Budnik <abud...@mesosphere.com>
Subject Review Request 72122: Fixed `cgroups::create` for nested cgroups.
Date Wed, 12 Feb 2020 15:48:40 GMT

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

Review request for mesos, Greg Mann and Qian Zhang.


Repository: mesos


Description
-------

This patch modifies `cgroups::create` function to call
`cloneCpusetCpusMems` for all non-existent nested cgroups.
For instance, if `cgroups::create` is called to create three
non-existent cgroups recursively for the path `/a/b/c`, then
`cloneCpusetCpusMems` will clone both `cpuset.cpus` and `cpuset.mems`
for `/a`, then `/a/b`, and then `/a/b/c`.


Diffs
-----

  src/linux/cgroups.cpp 73646c9eb39948192acedb67e3d2fb13acb14b30 


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


Testing
-------


Thanks,

Andrei Budnik


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message