From: Hillf Danton Date: Tue, 14 Jun 2011 22:36:24 +0000 (-0400) Subject: sched: Fix need_resched() when checking peempt X-Git-Tag: v3.0-rc4~41^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dd0de8be31b4b966d17750a0b10df2f575c91ac;p=pandora-kernel.git sched: Fix need_resched() when checking peempt The RT preempt check tests the wrong task if NEED_RESCHED is set. It currently checks the local CPU task. It is supposed to check the task that is running on the runqueue we are about to wake another task on. Signed-off-by: Hillf Danton Reviewed-by: Yong Zhang Signed-off-by: Steven Rostedt Link: http://lkml.kernel.org/r/20110614223657.450239027@goodmis.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed