----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/5840/#review9918 -----------------------------------------------------------
src/linux/cgroups.cpp <https://reviews.apache.org/r/5840/#comment21099> This is already being done in killTasks, and destroy doesn't explicitly use the freezer subsystem, so let's remove this. - Benjamin Hindman On July 24, 2012, 11:25 p.m., Jie Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/5840/ > ----------------------------------------------------------- > > (Updated July 24, 2012, 11:25 p.m.) > > > Review request for mesos and Benjamin Hindman. > > > Description > ------- > > The patch leverages the atomic task kill patch > https://reviews.apache.org/r/5402/ > > It can destroy an active cgroup (and all its sub-cgroups) by killing all > tasks and remove the cgroups in appropriate order. > > It uses the process::collect mechanism to parallelize the killing process. > > > Diffs > ----- > > src/linux/cgroups.hpp cec9e36 > src/linux/cgroups.cpp 93c140f > src/tests/cgroups_tests.cpp 7f0f901 > third_party/libprocess/include/process/future.hpp 1da33ad > > Diff: https://reviews.apache.org/r/5840/diff/ > > > Testing > ------- > > On linux machines, make check. > > > Thanks, > > Jie Yu > >
