Re: [PATCH v3 00/12] KVM: Add host swap event notifications for PV guest

From: Bryan Donlan
Date: Fri Jan 08 2010 - 14:31:23 EST


On Fri, Jan 8, 2010 at 2:24 PM, Rik van Riel <riel@xxxxxxxxxx> wrote:
> On 01/08/2010 11:18 AM, Marcelo Tosatti wrote:
>
>> - Limit the number of queued async pf's per guest ?
>
> This is automatically limited to the number of processes
> running in a guest :)

Only if the guest is nice and plays by the rules. What is to stop a
malicious guest from just immediately switching back to userspace and
kicking off another page-in every time it gets an async PF?
--
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/