WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] Modify to introduce delayed p2m table destruction

To: DOI Tsunehisa <Doi.Tsunehisa@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Modify to introduce delayed p2m table destruction
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Thu, 2 Nov 2006 19:34:05 +0900
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 02 Nov 2006 13:40:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4549C2F2.8090206@xxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4549C2F2.8090206@xxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Some comments.
- Probably IA64 specific code paths assume that if the p2m conversion
  gives valid mfn, then the page isn't free.
  Your patch breaks it. I haven't check it though.
- Why shadow prefix? it isn't related to shadow.


On Thu, Nov 02, 2006 at 07:05:38PM +0900, DOI Tsunehisa wrote:
> Hi all,
> 
>   We've modified to introduce delayed p2m table destruction like x86 code.
> 
>   This modification can avoid the hypervisor crash during destrcuting
> a domain with copy receiver of VNIF.
> 
>   Our modification has:
> 
>   * split relinquish_mm with two parts
>     + shadow_teardown()
>       - renamed from relinquish_mm.
>       - removed codes for p2m table destrcution.
>       - called at domain_kill phase
>     + shadow_final_teardown()
>       - includes codes for p2m table destruction.
>       - called at domain_destruct phase
>   * remove preliminary code to avoid hypervisor crash.
>     + gmfn_to_mfn_foreign()
>       - in current code, it includes preliminary code to avoid
> hypervisor crash.
>       - this modification has made redundant it.
> 
>   In our test, it successes to avoid hypervisor crash during destructing
> domains
> with PV-on-HVM VNIF (it uses copy receiver).
> 
> Thanks,
> - Tsunehisa Doi

-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel