You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Chi Zhang <ch...@gmail.com> on 2015/05/08 19:50:49 UTC

Review Request 33990: Changed BalloonExecutor to do memset before mlock.

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

Review request for mesos and Jie Yu.


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


Repository: mesos


Description
-------

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


Diffs
-----

  src/examples/balloon_executor.cpp ad1d861aa6b5396f66e703326802926c7a99773c 

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


Testing
-------


Thanks,

Chi Zhang


Re: Review Request 33990: Changed BalloonExecutor to do memset before mlock.

Posted by Jie Yu <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33990/#review83029
-----------------------------------------------------------

Ship it!


Ship It!

- Jie Yu


On May 8, 2015, 5:50 p.m., Chi Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33990/
> -----------------------------------------------------------
> 
> (Updated May 8, 2015, 5:50 p.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Bugs: mesos-2672
>     https://issues.apache.org/jira/browse/mesos-2672
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> mlock returns error when requested memory is more than the limit,
> because it couldn't find enough lockable memory, which defeats the
> purpose to trigger an oom.
> 
> 
> Diffs
> -----
> 
>   src/examples/balloon_executor.cpp ad1d861aa6b5396f66e703326802926c7a99773c 
> 
> Diff: https://reviews.apache.org/r/33990/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Chi Zhang
> 
>


Re: Review Request 33990: Changed BalloonExecutor to do memset before mlock.

Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33990/#review83037
-----------------------------------------------------------


Patch looks great!

Reviews applied: [33990]

All tests passed.

- Mesos ReviewBot


On May 8, 2015, 5:50 p.m., Chi Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33990/
> -----------------------------------------------------------
> 
> (Updated May 8, 2015, 5:50 p.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Bugs: mesos-2672
>     https://issues.apache.org/jira/browse/mesos-2672
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> mlock returns error when requested memory is more than the limit,
> because it couldn't find enough lockable memory, which defeats the
> purpose to trigger an oom.
> 
> 
> Diffs
> -----
> 
>   src/examples/balloon_executor.cpp ad1d861aa6b5396f66e703326802926c7a99773c 
> 
> Diff: https://reviews.apache.org/r/33990/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Chi Zhang
> 
>