From: Peter Zijlstra Date: Sun, 31 Oct 2010 11:37:04 +0000 (+0100) Subject: sched: Fix cross-sched-class wakeup preemption X-Git-Tag: v2.6.37-rc3~29^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e5a74059f9059d330744eac84873b1b99657008;p=pandora-kernel.git sched: Fix cross-sched-class wakeup preemption Instead of dealing with sched classes inside each check_preempt_curr() implementation, pull out this logic into the generic wakeup preemption path. This fixes a hang in KVM (and others) where we are waiting for the stop machine thread to run ... Reported-by: Markus Trippelsdorf Tested-by: Marcelo Tosatti Tested-by: Sergey Senozhatsky Signed-off-by: Peter Zijlstra LKML-Reference: <1288891946.2039.31.camel@laptop> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed