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

[Xen-changelog] [xen-4.0-testing] x86: Fix spurious_page_fault() for 1GB

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] x86: Fix spurious_page_fault() for 1GB superpages.
From: Xen patchbot-4.0-testing <patchbot@xxxxxxx>
Date: Fri, 03 Jun 2011 01:37:22 +0100
Delivery-date: Thu, 02 Jun 2011 17:41:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1307022430 -3600
# Node ID 01842fdf5d51975587e208000edf21e2ec1fa5ac
# Parent  b11ae09ae58b11e0283132edd572b856d382b05d
x86: Fix spurious_page_fault() for 1GB superpages.

From: Xin Li <xin.li@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxx>
xen-unstable changeset:   23441:4d28306d6e33
xen-unstable date:        Tue May 31 13:57:45 2011 +0100
---


diff -r b11ae09ae58b -r 01842fdf5d51 xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Sat May 28 09:29:40 2011 +0100
+++ b/xen/arch/x86/traps.c      Thu Jun 02 14:47:10 2011 +0100
@@ -1170,6 +1170,8 @@
     if ( ((l3e_get_flags(l3e) & required_flags) != required_flags) ||
          (l3e_get_flags(l3e) & disallowed_flags) )
         return 0;
+    if ( l3e_get_flags(l3e) & _PAGE_PSE )
+        return 1;
 #endif
 #endif
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] x86: Fix spurious_page_fault() for 1GB superpages., Xen patchbot-4 . 0-testing <=