commit | 606dba2e289446600a0b68422ed2019af5355c12 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Sat Feb 11 06:05:00 2012 +0100 |
committer | Ingo Molnar <mingo@kernel.org> | Mon Feb 10 16:17:13 2014 +0100 |
tree | 286562f6ddcca34f3f029b68507b820f0c81b707 | |
parent | fed14d45f945042a15b09de48d7d3d58d9455fc4 [diff] |
sched: Push put_prev_task() into pick_next_task() In order to avoid having to do put/set on a whole cgroup hierarchy when we context switch, push the put into pick_next_task() so that both operations are in the same function. Further changes then allow us to possibly optimize away redundant work. Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1328936700.2476.17.camel@laptop Signed-off-by: Ingo Molnar <mingo@kernel.org>