]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen: find unused contiguous memory area
authorJuergen Gross <jgross@suse.com>
Fri, 17 Jul 2015 04:51:29 +0000 (06:51 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 30 Nov 2015 19:38:49 +0000 (14:38 -0500)
commit782b5690df437652e088662d273c42ee0c2075b6
tree0be04b23b5c81f48a5b423cc3c1b277c123150c0
parentbe2f0b895b695df3077f73189a3a3b22532eb943
xen: find unused contiguous memory area

For being able to relocate pre-allocated data areas like initrd or
p2m list it is mandatory to find a contiguous memory area which is
not yet in use and doesn't conflict with the memory map we want to
be in effect.

In case such an area is found reserve it at once as this will be
required to be done in any case.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit 9ddac5b724a9465e27f25a0aa943e92c8341a85b)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/setup.c
arch/x86/xen/xen-ops.h