]> xenbits.xensource.com Git - people/gdunlap/xen.git/commit
freemem: remove call to libxl_wait_for_free_memory
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 6 Mar 2015 17:19:16 +0000 (17:19 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 11 Mar 2015 11:36:38 +0000 (11:36 +0000)
commit883b30a09610d08164ddf21b9346f0033a8dc16c
tree0678c30b183c75fda9f49e26f0157572af961d19
parentfd3aa246f1cdfc8d017282662706fd5973961d68
freemem: remove call to libxl_wait_for_free_memory

Now that libxl_wait_for_memory_target is capable of waiting until dom0
reaches its target, we can remove the other wait function call:
libxl_wait_for_free_memory. No need to wait twice. Once dom0 has met its
target, simply loop again and recalculate free_memkb.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Mike Latimer <mlatimer@suse.com>
Tested-by: Mike Latimer <mlatimer@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c