mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chi Zhang" <chzhc...@gmail.com>
Subject Review Request 33644: MemoryTestHelper: Changed to do memset before mlock.
Date Tue, 28 Apr 2015 23:00:07 GMT

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

Review request for mesos and Jie Yu.


Bugs: mesos-2660
    https://issues.apache.org/jira/browse/mesos-2660


Repository: mesos


Description
-------

In allocateRSS, when requested memory is more than the limit, mlock returns
error because it couldn't find enough lockable memory, which defeats the
purpose to trigger an oom.


Diffs
-----

  src/tests/memory_test_helper.cpp cdf769b32036c746ec4aa90841ea45c9a4159b51 

Diff: https://reviews.apache.org/r/33644/diff/


Testing
-------


Thanks,

Chi Zhang


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