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

Review request for mesos, Benjamin Hindman, Ben Mahler, and Vinod Kone.


Repository: mesos-git


Description
-------

Use cgroups.proc (rather than tasks) so all threads in the pid's threadgroup 
are assigned.

Documentation/cgroups/cgroups.txt:
"You can use the cgroup.procs file instead of the tasks file to move all 
threads in a threadgroup at once. "

Added a test to verify all threads are assigned.

This obviates the recently introduced assignAllThreads and thus it has been 
removed.


Diffs
-----

  src/linux/cgroups.hpp 5a5735721fb9f051eee661edb08d1cdaa163d0f3 
  src/linux/cgroups.cpp 8202c282f580d027a60ded2081962e96e4860f60 
  src/slave/slave.cpp a356f5f0a0a43581c6380df1bc9b15fd228b3015 
  src/tests/cgroups_tests.cpp 6ba9de622953e158feadaa9950618b0b13c9e832 
  src/tests/cluster.hpp 11684d99c6a4e623dd5ff9977d210de59f33f5cd 

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


Testing
-------

make check # Linux


Thanks,

Ian Downes

Reply via email to