summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorSuresh E. Warrier <warrier@linux.vnet.ibm.com>2014-11-03 15:52:00 +1100
committerAlexander Graf <agraf@suse.de>2014-12-15 13:27:25 +0100
commit1bc5d59c35976d39b39b14f86abb76c08364cf97 (patch)
treea74507c75182d8e542940477be7f0c3ea7bbea17 /scripts
parentffada016fb22fbbb9849d3cc5ec72ca8f0377681 (diff)
downloadlinux-1bc5d59c35976d39b39b14f86abb76c08364cf97.tar.gz
KVM: PPC: Book3S HV: Check wait conditions before sleeping in kvmppc_vcore_blocked
The kvmppc_vcore_blocked() code does not check for the wait condition
after putting the process on the wait queue. This means that it is
possible for an external interrupt to become pending, but the vcpu to
remain asleep until the next decrementer interrupt.  The fix is to
make one last check for pending exceptions and ceded state before
calling schedule().

Signed-off-by: Suresh Warrier <warrier@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions