]> git.baikalelectronics.ru Git - kernel.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)
committerDavid Vrabel <david.vrabel@citrix.com>
Fri, 23 Oct 2015 13:20:03 +0000 (14:20 +0100)
commit9541c7feb6d357fb3f194886a91d928a5fb53913
tree8785a1fb0ea443d60e345d87b7b5d5d474da539a
parent6a1a36b672a74fd118c220640e3f8156964c3b35
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.
drivers/xen/balloon.c