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-devel

[Xen-devel] Re: A random bug introduced in C/S 10918

To: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Subject: [Xen-devel] Re: A random bug introduced in C/S 10918
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 15 Aug 2006 14:55:53 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 Aug 2006 06:56:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <0EBFB99D260C5B40AC33E0F807B1AD66D52C11@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbAZx4ugltCVnl8QUaZNyAwR4A5DwAC2eaq
Thread-topic: A random bug introduced in C/S 10918
User-agent: Microsoft-Entourage/11.2.5.060620


On 15/8/06 1:34 pm, "Li, Xin B" <xin.b.li@xxxxxxxxx> wrote:

> +    local_flush_tlb_pge();
> +
>      mfn = gmfn_to_mfn(d, E820_MAP_PAGE >> PAGE_SHIFT);
>      if ( mfn == INVALID_MFN )
>      {
> 
> I don't think this is a clean fix, but how can this happen? Seems p2m
> table TLB entries sometimes are not flushed when loading a new cr3
> value.  Can you help to take a look?

Hi Xin,

Try removing _PAGE_GLOBAL from line 117 of arch/x86/x86_64/mm.c. Should be a
bit more correct. ;-)

If that works let me know and I'll apply the patch for you.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>