From: Keir Fraser Subject: Re: [RFC] [PATCH] [XEN] [ACM] Enable updating policy on running system Date: Fri, 20 Apr 2007 17:46:40 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0543845927==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Berger Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============0543845927== Content-type: multipart/alternative; boundary="B_3259936000_12567702" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3259936000_12567702 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable On 20/4/07 17:02, "Stefan Berger" wrote: >> >=20 >> > Anyway, in response to your main question, I wonder what you actually = need >> > to serialise against? Is it sufficient to just sync against domain cre= ation >> > -- what if event channels or grant mappings are also occurring during = the >> > policy change? Is there some specific part of domain creation you need= to >> > serialise against? >=20 > While the policy update is happening, a domain could be created with a la= bel > that is about to be modified or even deleted as part of the policy update= . When a label is associated with a domain, doesn=B9t that call into ACM code? In which case you could define your own locking against that event. -- Keir --B_3259936000_12567702 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: [Xen-devel] [RFC] [PATCH] [XEN] [ACM] Enable updating policy on = running system On 20= /4/07 17:02, "Stefan Berger" <stefanb@us.ibm.com> wrote:

>
> Anyway, in response to your main question, I wonder what you actually = need
> to serialise against? Is it sufficient to just sync against domain cre= ation
> -- what if event channels or grant mappings are also occurring during = the
> policy change? Is there some specific part of domain creation you need= to
> serialise against?


While the policy update is happenin= g, a domain could be created with a label that is about to be modified or ev= en deleted as part of the policy update.

When a label is associated with a domain, doesn’t that call into ACM = code? In which case you could define your own locking against that event.
 -- Keir
--B_3259936000_12567702-- --===============0543845927== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0543845927==--