]> git.baikalelectronics.ru Git - kernel.git/commit
xen: find unused contiguous memory area
authorJuergen Gross <jgross@suse.com>
Fri, 17 Jul 2015 04:51:29 +0000 (06:51 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:24:20 +0000 (12:24 +0100)
commit96014277449edec0d567e0757682ce6e0d151447
treedb39ade9b9c526d3d31fd09c87e53dd3557fa539
parent6716596f8942da325b494b27c0a346c4edda45f3
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>
arch/x86/xen/setup.c
arch/x86/xen/xen-ops.h