]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/balloon: find non-conflicting regions to place hotplugged memory
authorDavid Vrabel <david.vrabel@citrix.com>
Wed, 24 Jun 2015 14:58:42 +0000 (15:58 +0100)
committerJoao Martins <joao.m.martins@oracle.com>
Sun, 27 Mar 2016 01:00:58 +0000 (02:00 +0100)
commit48f053f869805626f24c6e39691a77ac52f97aa5
treebd93cebab1e96dba65239daba652bebc580a1260
parent008109ffad5ede7dce723e31239f9a5aa859da3d
xen/balloon: find non-conflicting regions to place hotplugged memory

Instead of placing hotplugged memory at the end of RAM (which may
conflict with PCI devices or reserved regions) use allocate_resource()
to get a new, suitably aligned resource that does not conflict.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
---
v3:
- Remove stale comment.

(cherry picked from commit 55b3da98a40dbb3776f7454daf0d95dde25c33d2)
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
drivers/xen/balloon.c