]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d68d204589c2f48e32f8a7731f52c21e293901a
tree953a9658ec2e2e785ce5ca584b8df16294a4e0c5
parente60dbec40721f3bceb5232ff2e07532e38d7398b
xen: clean up "extra" memory handling some more

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>
arch/x86/xen/setup.c