Re: [PATCH v4 10/12] Handle async PF in non preemptable context

2010-07-07 Thread Rik van Riel
On 07/06/2010 12:24 PM, Gleb Natapov wrote: 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. Signed-off-by: Gleb

[PATCH v4 10/12] Handle async PF in non preemptable context

2010-07-06 Thread Gleb Natapov
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. Signed-off-by: Gleb Natapov g...@redhat.com --- arch/x86/kernel/kvm.c |