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

Review request for mesos.


Bugs: MESOS-1662
    https://issues.apache.org/jira/browse/MESOS-1662


Repository: mesos-git


Description
-------

Changed memory.limit_in_bytes to memory.memsw.limit_in_bytes where memory is 
limited. This makes Mesos limit both memory and swap as described in the Jira 
ticket.

Using --limit-swap, it's possible to use memory.memsw.limit_in_bytes. If it 
doesn't exist it will fallback on memory.limit_in_bytes.


Diffs
-----

  src/linux/cgroups.hpp c571e915fec461485d2015f58e6e828b00ea089a 
  src/linux/cgroups.cpp ccb86cf172c3c97513b16b90756d7bc12aad278f 
  src/slave/containerizer/isolators/cgroups/mem.cpp 
e8d1e35a1acdb3beb03a91cfd734a59417657b20 
  src/slave/flags.hpp 5ea2f38df5a777f275136b7849d77cb461a32f8d 

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


Testing
-------

make check


Thanks,

Anton Lindström

Reply via email to