From: Peter Zijlstra Date: Sat, 11 Feb 2012 05:05:00 +0000 (+0100) Subject: sched: Push put_prev_task() into pick_next_task() X-Git-Tag: v3.15-rc1~116^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=606dba2e289446600a0b68422ed2019af5355c12;p=pandora-kernel.git 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 Link: http://lkml.kernel.org/r/1328936700.2476.17.camel@laptop Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed