]> 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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 11:43:25 +0000 (03:43 -0800)
commit50204a11a4b1a94c6a7a68f20062d73daf1b9f58
tree5e72739e83e955d91c2ef4baa87e2037db908698
parent42b943aab031a3e8ec1b5fdc5897c5e1a096962c
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>
(cherry picked from commit 782b5690df437652e088662d273c42ee0c2075b6)
arch/x86/xen/setup.c
arch/x86/xen/xen-ops.h