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] Patch for PV-on-HVM for IPF

To: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Patch for PV-on-HVM for IPF
From: Doi.Tsunehisa@xxxxxxxxxxxxxx
Date: Wed, 11 Oct 2006 13:15:17 +0900
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 10 Oct 2006 21:15:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: Your message of Wed, 11 Oct 2006 10:07:50 +0900. <20061011010750.GD19383%yamahata@xxxxxxxxxxxxx>
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: <451A47FB.8060900@xxxxxxxxxxxxxx> <451A4885.6000403@xxxxxxxxxxxxxx><20061011010750.GD19383%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
You (yamahata) said:
> Although I haven't dug into its details, I want to check my suspicion.
> The relinquishing mm code assumes that there's no racy reference.
> So your patch seems too easy and not-SMP-safe to me.
> For example, mm->pgd isn't protected.
> What do you think?

  You are right. Hypervisor may crash in gnttab_copy code during
p2m table destruction in relinquish_mm code.

  At least, mm->pgd should be nullify before destruction of the body
of p2m table.

  I'll investigate it.

> BTW, I suppose that you also have the another SMP issue related
> to PV-on-HVM. What's going on it?

  Sorry, I could not spend to investigate this issue in last few
weeks. Could you help me ?

Thanks,
- Doi Tsunehisa

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