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

Re: [Xen-devel] [PATCH v1 12/12] libxl: add device backend listener in order to launch backends

> >  /*
> > + * Short-lived sub-ao, aka "nested ao".
> > + *
> > + * Some asynchronous operations are very long-running.  Generally,
> > + * since an ao has a gc, any allocations made in that ao will live
> > + * until the ao is completed.  When this is not desirable, these
> > + * functions may be used to manage a "sub-ao".
> > + *

Just to make sure I understand this whole thing fully:

This is targeted against long running AOs that have a lot of intermittent "events", 
each of which may cause more memory allocations. By creating throwaway-ao's 
for these events, one can service these events asynchronously (if they are long 
running by themselves) while quickly reclaiming the memory after event completion.

And this can be used in suspend/resume/restore code to create these throwaway nested-aos
during each iteration, so as to avoid the possibility of accumulating memory on the main gc.

Xen-devel mailing list



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