xen: release unused free memory
authorMiroslav Rezanina <mrezanin@redhat.com>
Wed, 16 Sep 2009 07:56:17 +0000 (03:56 -0400)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 20 Jul 2010 19:51:22 +0000 (12:51 -0700)
commit093d7b4639951ea3021a6f70d376c3ff31f4740c
tree552be40304174678d2db47c3259ce59fe5483d9f
parente40152ee1e1c7a63f4777791863215e3faa37a86
xen: release unused free memory

Scan an e820 table and release any memory which lies between e820 entries,
as it won't be used and would just be wasted.  At present this is just to
release any memory beyond the end of the e820 map, but it will also deal
with holes being punched in the map.

Derived from patch by Miroslav Rezanina <mrezanin@redhat.com>

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/enlighten.c
arch/x86/xen/setup.c