From: Paul Turner Date: Thu, 4 Oct 2012 11:18:30 +0000 (+0200) Subject: sched: Add an rq migration call-back to sched_class X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~75^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a74bef8bed18dc6889e9bc37ea1050a50c86c89;p=pandora-kernel.git sched: Add an rq migration call-back to sched_class Since we are now doing bottom up load accumulation we need explicit notification when a task has been re-parented so that the old hierarchy can be updated. Adds: migrate_task_rq(struct task_struct *p, int next_cpu) (The alternative is to do this out of __set_task_cpu, but it was suggested that this would be a cleaner encapsulation.) Signed-off-by: Paul Turner Reviewed-by: Ben Segall Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20120823141506.660023400@google.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed