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

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



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1306847025 -3600
# Node ID 43acc031eb24945973dffda2b7caf976993bbd5f
# Parent  72aec6838f0cf4394845c09d445b72c4bd278f94
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 72aec6838f0c -r 43acc031eb24 xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Tue May 31 14:03:17 2011 +0100
+++ b/xen/arch/x86/traps.c      Tue May 31 14:03:45 2011 +0100
@@ -1162,6 +1162,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®.