From: Peter Zijlstra Date: Wed, 2 Feb 2011 12:19:48 +0000 (+0100) Subject: sched: Fix update_curr_rt() X-Git-Tag: v2.6.38-rc4~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06c3bc655697b19521901f9254eb0bbb2c67e7e8;p=pandora-kernel.git sched: Fix update_curr_rt() cpu_stopper_thread() migration_cpu_stop() __migrate_task() deactivate_task() dequeue_task() dequeue_task_rq() update_curr_rt() Will call update_curr_rt() on rq->curr, which at that time is rq->stop. The problem is that rq->stop.prio matches an RT prio and thus falsely assumes its a rt_sched_class task. Reported-Debuged-Tested-Acked-by: Thomas Gleixner Signed-off-by: Peter Zijlstra LKML-Reference: Cc: stable@kernel.org # .37 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed