On Fri, 27 Feb 2015, Jan Beulich wrote:
> >>> On 26.02.15 at 18:53, <stefano.stabell...@eu.citrix.com> wrote:
> > Or maybe we just need to change the libxl_set_memory_target call to use
> > an absolute memory target to avoid restricting dom0 memory more than
> > necessary at each iteration. Also increasing the timeout argument passed
> > to the libxl_wait_for_free_memory call could help.
> 
> Wouldn't that lead to problems with multiple racing invocations of
> that function (perhaps from different processes)? (Note that I ask
> this without knowledge on whether libxl already suitably serializes
> things.)

Calls to freemem are serialized using a lockfile.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to