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



src/slave/cgroups_isolator.cpp
<https://reviews.apache.org/r/14825/#comment53217>

    Can you actually just use cgroups::memory::usage_in_bytes() ?
    
    
    Also, we should probably just export everything in memory.stat file. If you 
don't want to do it in this review, please add a TODO.


- Vinod Kone


On Oct. 22, 2013, 8:07 a.m., Eric Biederman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14825/
> -----------------------------------------------------------
> 
> (Updated Oct. 22, 2013, 8:07 a.m.)
> 
> 
> Review request for mesos, Ben Mahler, Ian Downes, and Vinod Kone.
> 
> 
> Bugs: Mesos-758
>     https://issues.apache.org/jira/browse/Mesos-758
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> cgroup_isolator:  Report the actual amount of memory used
> 
> Report the number of bytes used by the memory cgroup, and stop
> reporting memory with no file backed pages taken into account.
> 
> 
> Diffs
> -----
> 
>   src/slave/cgroups_isolator.cpp fc36f1f 
> 
> Diff: https://reviews.apache.org/r/14825/diff/
> 
> 
> Testing
> -------
> 
> Verified that memory.stat:rss is the wrong value.
> Verified that memory.usage_in_bytes is the correct value.
> 
> make check
> 
> Verified the code is idiomatic and trivial.
>  
> 
> 
> Thanks,
> 
> Eric Biederman
> 
>

Reply via email to