xen: clean up "extra" memory handling some more
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 23 Nov 2010 00:31:35 +0000 (16:31 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 23 Nov 2010 00:34:28 +0000 (16:34 -0800)
Make sure that extra_pages is added for all E820_RAM regions beyond
mem_end - completely excluded regions as well as the remains of partially
included regions.

Also makes sure the extra region is not unnecessarily high, and simplifies
the logic to decide which regions should be added.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>

No differences found