You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Jason Zhou <ja...@gmail.com> on 2024/08/15 20:29:25 UTC

Review Request 75173: [cgroups2] Only call isolate() on controllers of containers with isolate == true

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

Review request for mesos and Benjamin Mahler.


Repository: mesos


Description
-------

In cgroups1, when handling nested containers that share cgroups, we
skip isolate calls for them. We want to replicate this behavior in
cgroups2.


Diffs
-----

  src/slave/containerizer/mesos/isolators/cgroups2/cgroups2.cpp d1507ecd979405d1fd4d56c5fcd990b22eb311f6 


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


Testing
-------

Compiles okay. When later patches are applied NamespacesIsolatorTest pass and NestedMesosContainerizerTests pass (except for the ones that check for subsystem hierarchies)


Thanks,

Jason Zhou


Re: Review Request 75173: [cgroups2] Only call isolate() on controllers of containers with isolate == true

Posted by Benjamin Mahler <bm...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75173/#review226850
-----------------------------------------------------------


Ship it!




Ship It!

- Benjamin Mahler


On Aug. 15, 2024, 8:29 p.m., Jason Zhou wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75173/
> -----------------------------------------------------------
> 
> (Updated Aug. 15, 2024, 8:29 p.m.)
> 
> 
> Review request for mesos and Benjamin Mahler.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> In cgroups1, when handling nested containers that share cgroups, we
> skip isolate calls for them. We want to replicate this behavior in
> cgroups2.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/isolators/cgroups2/cgroups2.cpp d1507ecd979405d1fd4d56c5fcd990b22eb311f6 
> 
> 
> Diff: https://reviews.apache.org/r/75173/diff/1/
> 
> 
> Testing
> -------
> 
> Compiles okay. When later patches are applied NamespacesIsolatorTest pass and NestedMesosContainerizerTests pass (except for the ones that check for subsystem hierarchies)
> 
> 
> Thanks,
> 
> Jason Zhou
> 
>