]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
xen/balloon: make sure we only include remaining extra ram
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 14 Sep 2010 17:32:32 +0000 (10:32 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Sat, 20 Nov 2010 06:18:26 +0000 (22:18 -0800)
commit66946f676776a6ef333db1cf7453ecf8a66c90df
tree9eefb0b95ae97cef89bec299fb0ecc1f3d9e6103
parent2f70e0acd496398671606767122846278126a88b
xen/balloon: make sure we only include remaining extra ram

If the user specifies mem= on the kernel command line, some or all
of the extra memory E820 region may be clipped away, so make sure
we don't try to add more extra memory than exists in E820.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/balloon.c