diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-10-31 12:37:04 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-11-11 14:37:23 +0100 |
commit | 1e5a74059f9059d330744eac84873b1b99657008 (patch) | |
tree | f32f8ac76d5a6c49c1b4cd8f83155af00007fac0 /drivers/scsi/scsi_debug.c | |
parent | 2d46709082c062cae7cce1a15f8cd4cd81b92d88 (diff) | |
download | linux-1e5a74059f9059d330744eac84873b1b99657008.tar.gz linux-1e5a74059f9059d330744eac84873b1b99657008.tar.bz2 linux-1e5a74059f9059d330744eac84873b1b99657008.zip |
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 <markus@trippelsdorf.de>
Tested-by: Marcelo Tosatti <mtosatti@redhat.com>
Tested-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1288891946.2039.31.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions