[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.