[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] freemem-slack and large memory environments



On Fri, 27 Feb 2015, Jan Beulich wrote:
> >>> On 26.02.15 at 18:53, <stefano.stabellini@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.