Re: [PATCH v6 02/12] Halt vcpu if page it tries to access is swappedout.

From: Rik van Riel
Date: Mon Oct 04 2010 - 21:22:34 EST


On 10/04/2010 11:56 AM, Gleb Natapov wrote:
If a guest accesses swapped out memory do not swap it in from vcpu thread
context. Schedule work to do swapping and put vcpu into halted state
instead.

Interrupts will still be delivered to the guest and if interrupt will
cause reschedule guest will continue to run another task.

Signed-off-by: Gleb Natapov<gleb@xxxxxxxxxx>

This seems quite different from the last version, but it
looks fine to me.

Acked-by: Rik van Riel <riel@xxxxxxxxxx>


--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/