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

From: Rik van Riel
Date: Fri Jan 08 2010 - 14:56:22 EST


On 01/08/2010 02:30 PM, Bryan Donlan wrote:
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?

Good point, a malicious guest could do that and ruin
things for everyone. I guess we do need a limit :)

--
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/