----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/75169/ -----------------------------------------------------------
Review request for mesos. Repository: mesos Description ------- If the cgroups2 isolator is not used, then there is no way for a process to be placed into a cgroup to be cleaned up properly later. Specifically this has been found to affect the linux launcher. We expose an isolate() helper function to create the cgroup and assign the pid inside it. It is assumed that the caller will make sure the cgroup is a leaf cgroup so the pid can be assigned. It is also assumed that the caller will be responsible for cleaning up the created cgroup. Diffs ----- src/linux/cgroups2.hpp e13e57076ab7a7b9977a2eec9eeaa3c8635a98e1 src/linux/cgroups2.cpp 9dd100aa6d224d67166cc80473423ea5fa815c14 Diff: https://reviews.apache.org/r/75169/diff/1/ Testing ------- NamespacesIsolatorTest passes in upcoming patch where isolate() is used in linux launcher. Thanks, Jason Zhou
