From: Kirill Tkhai Date: Tue, 28 Jan 2014 07:26:14 +0000 (+0400) Subject: sched/deadline: Skip in switched_to_dl() if task is current X-Git-Tag: v3.15-rc1~116^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=390f3258cb2d031f1c17aa32e771ebd336e89073;p=pandora-kernel.git sched/deadline: Skip in switched_to_dl() if task is current When p is current and it's not of dl class, then there are no other dl taks in the rq. If we had had pushable tasks in some other rq, they would have been pushed earlier. So, skip "p == rq->curr" case. Signed-off-by: Kirill Tkhai Acked-by: Juri Lelli Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20140128072421.32315.25300.stgit@tkhai Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed