xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	xen-devel@lists.xenproject.org,
	Ian Campbell <ian.campbell@citrix.com>
Subject: Re: [PATCH v1 12/12] libxl: add device backend listener in order to launch backends
Date: Wed, 6 Nov 2013 13:15:32 +0100	[thread overview]
Message-ID: <527A32E4.50906@citrix.com> (raw)
In-Reply-To: <21111.57474.653370.258557@mariner.uk.xensource.com>

On 04/11/13 18:59, Ian Jackson wrote:
> Ian Jackson writes ("Re: [PATCH v1 12/12] libxl: add device backend listener in order to launch backends"):
>>  It would give you a new psuedo-ao, which you can use for
>> per-event memory allocation.  It's a psuedo-ao in the sense that you
>> mustn't call libxl__ao_abort or libxl__ao_complete on it, but it would
>> have the right type and in particular you could stuff it in
>> sub-operations' ao fields, call STATE_AO_GC on it and so on.  I could
>> make it possible to call libxl__ao_inprogress and have that reflected
>> to the underlyhing real ao.
>>
>>> That sounds like a good solution to my problem, I wouldn't mind if you
>>> write that :)
>>
>> OK, watch this space.
> 
> Something like this perhaps.  I've compiled it but I don't have a
> caller to test it with.
> 
> Ian.
> 
> From be117b96d0072a995ffa77ee1a763a3bdc98b982 Mon Sep 17 00:00:00 2001
> From: Ian Jackson <ian.jackson@eu.citrix.com>
> Date: Mon, 4 Nov 2013 17:56:15 +0000
> Subject: [PATCH] libxl: Introduce nested async operations (nested ao)
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
> 
> This allows a long-running ao to avoid accumulating memory.  Each
> nested ao has its own gc.
> 
> Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
> Cc: Roger Pau Monné <roger.pau@citrix.com>
> Cc: Ian Campbell <ian.campbell@citrix.com>

Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Tested-by: Roger Pau Monné <roger.pau@citrix.com>

The interface looks fine to me, maybe other potential users of this
interface have comments, but since it's an internal interface we can
always expand it. I've added this patch to my series, I'm not sure if
you prefer to commit it separately.

  reply	other threads:[~2013-11-06 12:15 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-02  9:24 [PATCH v1 00/12] libxl: add driver domain backend daemon Roger Pau Monne
2013-10-02  9:24 ` [PATCH v1 01/12] libxl/hotplug: add support for getting domid Roger Pau Monne
2013-10-02  9:36   ` Andrew Cooper
2013-10-10 11:32     ` Ian Campbell
2013-11-01 18:42   ` Ian Jackson
2013-11-05 13:49     ` Ian Campbell
2013-10-02  9:24 ` [PATCH v1 02/12] libxl: remove unneeded libxl_domain_info in wait_device_connection Roger Pau Monne
2013-11-01 18:43   ` Ian Jackson
2013-10-02  9:24 ` [PATCH v1 03/12] libxl: make hotplug execution conditional on backend_domid == domid Roger Pau Monne
2013-11-01 18:43   ` Ian Jackson
2013-11-05 13:49     ` Ian Campbell
2013-10-02  9:24 ` [PATCH v1 04/12] libxl: create a local xenstore libxl and device-model dir for guests Roger Pau Monne
2013-10-10 11:37   ` Ian Campbell
2013-10-30  9:14     ` Roger Pau Monné
2013-10-30 11:53       ` Ian Jackson
2013-10-31 16:09         ` Ian Campbell
2013-10-02  9:24 ` [PATCH v1 05/12] libxl: don't remove device frontend path from driver domains Roger Pau Monne
2013-11-01 18:45   ` Ian Jackson
2013-10-02  9:24 ` [PATCH v1 06/12] libxl: synchronize device removal when using " Roger Pau Monne
2013-11-01 18:48   ` Ian Jackson
2013-10-02  9:24 ` [PATCH v1 07/12] libxl: remove the Qemu bodge for driver domain devices Roger Pau Monne
2013-10-02  9:45   ` Andrew Cooper
2013-10-02  9:24 ` [PATCH v1 08/12] libxl: don't launch Qemu on Dom0 for Qdisk devices on driver domains Roger Pau Monne
2013-10-02  9:24 ` [PATCH v1 09/12] libxl: add Qdisk backend launch helper Roger Pau Monne
2013-10-02  9:24 ` [PATCH v1 10/12] xl: put daemonize code in it's own function Roger Pau Monne
2013-10-02  9:24 ` [PATCH v1 11/12] libxl: revert 326a7b74 Roger Pau Monne
2013-10-02  9:24 ` [PATCH v1 12/12] libxl: add device backend listener in order to launch backends Roger Pau Monne
2013-10-30 17:00   ` Ian Jackson
2013-11-04 17:03     ` Roger Pau Monné
2013-11-04 17:20       ` Ian Jackson
2013-11-04 17:59         ` Ian Jackson
2013-11-06 12:15           ` Roger Pau Monné [this message]
2013-11-06 14:46             ` Ian Jackson
2013-11-07 10:22           ` Ian Campbell
2013-11-07 16:35             ` Ian Jackson
2013-11-07 19:11               ` Shriram Rajagopalan
2013-11-08 11:41                 ` Ian Jackson
2013-11-11 17:59                   ` Shriram Rajagopalan
2013-11-12 15:29               ` Ian Campbell
2013-11-06  9:41         ` Roger Pau Monné
2013-11-11 11:37           ` Ian Jackson
2013-11-06 13:02     ` Roger Pau Monné

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527A32E4.50906@citrix.com \
    --to=roger.pau@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).