]> git.baikalelectronics.ru Git - kernel.git/commit
xen: actually release memory when shrinking domain
authorDan Magenheimer <dan.magenheimer@oracle.com>
Thu, 22 Jan 2009 22:36:08 +0000 (14:36 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 22 Jan 2009 22:41:44 +0000 (23:41 +0100)
commitcdb4ac55767068007b574126301fae22fb9796ab
tree3dcdc077c2c045043629b1999a40f8e1f13996d5
parent2977089d35d9ee1355cdf6f5654268ae3d9e08d2
xen: actually release memory when shrinking domain

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@oracle.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/xen/balloon.c