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

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



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1306846665 -3600
# Node ID 4d28306d6e33dc88301cfa71f15f0ddd08b90036
# Parent  01ba8829585cde752916a19bd7c5f677e0dcb921
x86: Fix spurious_page_fault() for 1GB superpages.

From: Xin Li <xin.li@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 01ba8829585c -r 4d28306d6e33 xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Tue May 31 13:55:50 2011 +0100
+++ b/xen/arch/x86/traps.c      Tue May 31 13:57:45 2011 +0100
@@ -1195,6 +1195,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®.