mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Downes" <ian.dow...@gmail.com>
Subject Re: Review Request 25864: Add 'Future<Nothing> cgroups::empty()'.
Date Tue, 23 Sep 2014 19:35:16 GMT


> On Sept. 22, 2014, 12:12 p.m., Ben Mahler wrote:
> > Why do you need this?
> > 
> > Seems like one would only watch for cgroup emptiness when destroying a cgroup, in
which case, why split emptiness waiting from a successful destroy?

This is for use in conjunction with pid namespaces: we kill the leading ('init') process and
then we can wait until all processes have been killed by the kernel. The LinuxLauncher continues
to use the freezer cgroup for this purpose (and for forward/backward compatibility).


- Ian


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


On Sept. 22, 2014, 11:46 a.m., Ian Downes wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/25864/
> -----------------------------------------------------------
> 
> (Updated Sept. 22, 2014, 11:46 a.m.)
> 
> 
> Review request for mesos, Jie Yu and Vinod Kone.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> Polls cgroups.procs until no processes in the cgroup. Poll interval and timeout can be
specified.
> 
> 
> Diffs
> -----
> 
>   src/linux/cgroups.hpp abf31df1b4dbf6f715f93256b83c9996a45099cf 
>   src/linux/cgroups.cpp 5093b4ca1ac17238234d96613b7f4ceab4373c48 
> 
> Diff: https://reviews.apache.org/r/25864/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Ian Downes
> 
>


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