Re: [PATCH] VMware balloon: stop locking pages when hypervisortells us enough

From: Andrew Morton
Date: Tue Dec 07 2010 - 20:11:04 EST


On Fri, 3 Dec 2010 08:52:26 -0800
Dmitry Torokhov <dtor@xxxxxxxxxx> wrote:

> When hypervisor decides to decrease target balloon size while the
> balloon driver tries to lock pages hypervisor may respond with
> VMW_BALLOON_PPN_NOTNEEDED. Use this data and immediately stop reserving
> pages and wait for the next update cycle to fetch new target instead
> of continuing trying to lock pages until size of refused list grows
> above VMW_BALLOON_MAX_REFUSED (16) pages.

OK, but ... why? What is the externally visible effect of this change?
--
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/