Xen balloon: fix totalram_pages counting.
authorGianluca Guida <gianluca.guida@citrix.com>
Thu, 30 Jul 2009 21:54:36 +0000 (22:54 +0100)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 4 Dec 2009 16:13:44 +0000 (08:13 -0800)
commit3d65c9488cadd2f11bd4d60c7266e639ece5d0d6
tree94790d79e492f8fee50b8d9e6a5a7043b1941eff
parentb4606f2165153833247823e8c04c5e88cb3d298b
Xen balloon: fix totalram_pages counting.

Change totalram_pages when a single page is added/removed to the
ballooned list. This avoid totalram_pages to be set erroneously to
max_pfn at boot.

Signed-off-by: Gianluca Guida <gianluca.guida@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stable Kernel <stable@kernel.org>
drivers/xen/balloon.c