commit | 4f8ee27b3592351cd71897d192065758340932d1 | [log] [tgz] |
---|---|---|
author | Chris Sosa <[email protected]> | Fri Nov 30 13:01:54 2012 -0800 |
committer | Gerrit <[email protected]> | Wed Dec 05 20:33:12 2012 -0800 |
tree | 0872af59f6eeac2c4301bafdf9cb8115cb59f7f5 | |
parent | b3f5540ee27bd53a28e3a3f87e2f5e80fb2a4876 [diff] |
Modify priority tweaking to use CGroups. This modifies the behavior of setpriority and getpriority to use CGroups rather than niceness levels. I've removed the unittest comparing priorities as its not really valid any more as we are just writing numbers to files. I've also refactored references to priority to reference cpu shares etc. BUG=chromium-os:36229 TEST=Unittest + doing end to end test in bgnd CQ-DEPEND=I6a0e56073e7281268e0550919c9ec9202b18db26 Change-Id: I48c8270c2065f1e0677e5e53df3557131577b97c Reviewed-on: https://gerrit.chromium.org/gerrit/39147 Reviewed-by: Chris Sosa <[email protected]> Tested-by: Chris Sosa <[email protected]> Commit-Ready: Chris Sosa <[email protected]>