Skip to content
Commit 62cedb9f authored by David Vrabel's avatar David Vrabel
Browse files

mm: memory hotplug with an existing resource



Add add_memory_resource() to add memory using an existing "System RAM"
resource.  This is useful if the memory region is being located by
finding a free resource slot with allocate_resource().

Xen guests will make use of this in their balloon driver to hotplug
arbitrary amounts of memory in response to toolstack requests.

Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
Reviewed-by: default avatarDaniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: default avatarTang Chen <tangchen@cn.fujitsu.com>
parent 7379047d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment