search for: add_registered_memory

Displaying 1 result from an estimated 1 matches for "add_registered_memory".

2010 Aug 12
13
[PATCH] GSoC 2010 - Memory hotplug support for Xen guests - third fully working version
...tore(&balloon_lock, flags); +out_0: return rc < 0 ? rc : rc != nr_pages; } @@ -337,11 +286,11 @@ static void hotplug_allocated_memory(void) nid = memory_add_physaddr_to_nid(balloon_stats.hotplug_start_paddr); - ret = xen_add_memory(nid, balloon_stats.hotplug_start_paddr, + ret = add_registered_memory(nid, balloon_stats.hotplug_start_paddr, balloon_stats.hotplug_size); if (ret) { - pr_err("%s: xen_add_memory: Memory hotplug failed: %i\n", + pr_err("%s: add_registered_memory: Memory hotplug failed: %i\n", __func__, ret); goto error; } @@ -388,18 +337,6 @@...