]> git.baikalelectronics.ru Git - kernel.git/commit
KVM paravirt: Handle async PF in non preemptable context
authorGleb Natapov <gleb@redhat.com>
Thu, 14 Oct 2010 09:22:54 +0000 (11:22 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:23:19 +0000 (11:23 +0200)
commita329855d8494864e7be0e3243e7e1494e6071809
tree33ea24341320d9adda2d2d3c0314a7244bac7862
parent805b093c4392abf862cfea1244768ab7e198f3c8
KVM paravirt: Handle async PF in non preemptable context

If async page fault is received by idle task or when preemp_count is
not zero guest cannot reschedule, so do sti; hlt and wait for page to be
ready. vcpu can still process interrupts while it waits for the page to
be ready.

Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kernel/kvm.c