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

[Xen-changelog] [xen-unstable] x86: Initialise INVLPG support to PTEs only for all CPUs, not just BP.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1192552822 -3600
# Node ID b6ff4859b3d4a78edd068b2c6c86aa8964694b8d
# Parent  96930bc060a697a47e370615a31df398ca0425cb
x86: Initialise INVLPG support to PTEs only for all CPUs, not just BP.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/cpu/common.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 96930bc060a6 -r b6ff4859b3d4 xen/arch/x86/cpu/common.c
--- a/xen/arch/x86/cpu/common.c Tue Oct 16 17:36:28 2007 +0100
+++ b/xen/arch/x86/cpu/common.c Tue Oct 16 17:40:22 2007 +0100
@@ -314,6 +314,7 @@ void __devinit identify_cpu(struct cpuin
        c->x86_vendor_id[0] = '\0'; /* Unset */
        c->x86_model_id[0] = '\0';  /* Unset */
        c->x86_max_cores = 1;
+       c->invlpg_works_ok = 1; /* no superpage INVLPG by default */
        c->x86_clflush_size = 0;
        memset(&c->x86_capability, 0, sizeof c->x86_capability);
 

_______________________________________________
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®.