----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7620/#review12573 -----------------------------------------------------------
src/linux/cgroups.cpp <https://reviews.apache.org/r/7620/#comment26843> Any reason for the 'cgroups::' prefix on the read/writeControl calls here? src/linux/cgroups.cpp <https://reviews.apache.org/r/7620/#comment26844> 1. The call to path::join("/", cgroup) is quite strange, it will essentially just prepend a "/" to the cgroup relative path, which seems wrong to me. 2. Is it expected that there's always a parent in this call? Otherwise seems third_party/libprocess/include/stout/path.hpp <https://reviews.apache.org/r/7620/#comment26845> Thanks for this, I seem to recall making some clunky join calls that I should fix. - Ben Mahler On Oct. 16, 2012, 7:21 p.m., Benjamin Hindman wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/7620/ > ----------------------------------------------------------- > > (Updated Oct. 16, 2012, 7:21 p.m.) > > > Review request for mesos, Vinod Kone, Jie Yu, and Ben Mahler. > > > Description > ------- > > See summary. > > > Diffs > ----- > > src/linux/cgroups.hpp f0e343d9348075484fa5a4be739a5cef8b9dea21 > src/linux/cgroups.cpp 58e9fec193cf0da39fdbee3ee1891fd716a63bbb > third_party/libprocess/include/stout/path.hpp > e64f8a01d004c5e6513880ed2a1a85d4ec4f9e8b > > Diff: https://reviews.apache.org/r/7620/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Benjamin Hindman > >
