Re: [PATCH] xen: actually release memory when shrinking domain

From: Ingo Molnar
Date: Thu Jan 22 2009 - 17:42:31 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
>
> Fix this:
>
>> It appears that in the upstream balloon driver,
>> > the call to HYPERVISOR_update_va_mapping is missing
>> > from decrease_reservation. I think as a result,
>> > the balloon driver is eating memory but not
>> > releasing it to Xen, thus rendering the balloon
>> > driver essentially useless. (Can be observed via xentop.)
>
> Signed-off-by: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
> ---
> drivers/xen/balloon.c | 5 +++++
> 1 file changed, 5 insertions(+)

applied to tip/x86/urgent, thanks!

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