> On Jan. 2, 2014, 6:51 p.m., Vinod Kone wrote: > > 3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp, line 901 > > <https://reviews.apache.org/r/16569/diff/2/?file=413414#file413414line901> > > > > can this constant be pulled from a well known header file?
There's a POSIX variable PAGESIZE available through sysconf. - Ian ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16569/#review31046 ----------------------------------------------------------- On Jan. 2, 2014, 12:38 p.m., Niklas Nielsen wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/16569/ > ----------------------------------------------------------- > > (Updated Jan. 2, 2014, 12:38 p.m.) > > > Review request for mesos, Benjamin Hindman, Ben Mahler, and Vinod Kone. > > > Repository: mesos-git > > > Description > ------- > > freeMemory() returns amount of free system memory. Can in > combination with memory() be used to get total used memory. > This allows future finer grained break-downs of used memory > in user memory, kernel buffers/caches and so on. > > > Diffs > ----- > > 3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp 7c1f6ec > > Diff: https://reviews.apache.org/r/16569/diff/ > > > Testing > ------- > > make check and functional testing. > > > Thanks, > > Niklas Nielsen > >
