[PATCH v7 09/12] Inject asynchronous page fault into a PV guest if page is swapped out.

2010-10-14 Thread y
From: Gleb Natapov g...@redhat.com Send async page fault to a PV guest if it accesses swapped out memory. Guest will choose another task to run upon receiving the fault. Allow async page fault injection only when guest is in user mode since otherwise guest may be in non-sleepable context and

[PATCH v7 09/12] Inject asynchronous page fault into a PV guest if page is swapped out.

2010-10-14 Thread Gleb Natapov
Send async page fault to a PV guest if it accesses swapped out memory. Guest will choose another task to run upon receiving the fault. Allow async page fault injection only when guest is in user mode since otherwise guest may be in non-sleepable context and will not be able to reschedule. Vcpu