Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334776
b: refs/heads/master
c: c5e015d
h: refs/heads/master
v: v3
  • Loading branch information
Sasha Levin authored and Avi Kivity committed Oct 22, 2012
1 parent b554871 commit 478932f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7f46ddbd487e0d0528d89534fdfb31d885977804
refs/heads/master: c5e015d4949aa665c486cae6884beb00b97e3dea
3 changes: 3 additions & 0 deletions trunk/arch/x86/kernel/kvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,10 @@ do_async_page_fault(struct pt_regs *regs, unsigned long error_code)
break;
case KVM_PV_REASON_PAGE_NOT_PRESENT:
/* page is swapped out by the host. */
rcu_irq_enter();
exit_idle();
kvm_async_pf_task_wait((u32)read_cr2());
rcu_irq_exit();
break;
case KVM_PV_REASON_PAGE_READY:
rcu_irq_enter();
Expand Down

0 comments on commit 478932f

Please sign in to comment.