> On Jan. 18, 2016, 10:41 p.m., Jie Yu wrote:
> > src/tests/containerizer/isolator_tests.cpp, lines 911-914
> > <https://reviews.apache.org/r/42098/diff/5/?file=1197313#file1197313line911>
> >
> >     I think you can use cgroups::processes here (see src/linux/cgroups.hpp)

Didn't know cgroups::processes exists. This really simplified the code.


- Avinash


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


On Jan. 19, 2016, 3:20 a.m., Avinash sridharan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42098/
> -----------------------------------------------------------
> 
> (Updated Jan. 19, 2016, 3:20 a.m.)
> 
> 
> Review request for mesos, Jie Yu and Joseph Wu.
> 
> 
> Bugs: MESOS-4262
>     https://issues.apache.org/jira/browse/MESOS-4262
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added unit test-case for CgroupsNetClsIsolatorProcess.
> 
> 
> Diffs
> -----
> 
>   src/tests/containerizer/isolator_tests.cpp 
> 91178b69ccbf5b6cbf64421e5602e6d554fc34ca 
> 
> Diff: https://reviews.apache.org/r/42098/diff/
> 
> 
> Testing
> -------
> 
> Enabled net_cls cgroup on ubuntu 14.04 and ran make check.
> 
> 
> Thanks,
> 
> Avinash sridharan
> 
>

Reply via email to