Xen balloon: fix totalram_pages counting.
commit910965b03f3c8930db26378bd9ab06ea74b91bdb
authorGianluca Guida <gianluca.guida@citrix.com>
Thu, 30 Jul 2009 21:54:36 +0000 (30 22:54 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Dec 2009 22:04:57 +0000 (18 14:04 -0800)
tree15defd46cbe91e8f452f061a45d3de58f61fe53c
parent7a0eb0721ef8015e1d17fb1cc017179eedf8cc2c
Xen balloon: fix totalram_pages counting.

commit 3d65c9488cadd2f11bd4d60c7266e639ece5d0d6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/xen/balloon.c