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

[Xen-changelog] [xen-unstable] [IA64] xen might misunderstand a normal page as I/O page



# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Date 1169666497 25200
# Node ID b8de061f3dc6d60e73279c41935138686860a170
# Parent  1487b2114fc256e24980934460d7b8e1c88d9381
[IA64] xen might misunderstand a normal page as I/O page

Hypervisor might misunderstand a normal page as I/O page
if a guest OS uses the ig field in the guest VHPT.

It seems to be harmless but slightly slow down.

Full description:
http://lists.xensource.com/archives/html/xen-ia64-devel/2007-01/msg00218.html

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/vmx/vtlb.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 1487b2114fc2 -r b8de061f3dc6 xen/arch/ia64/vmx/vtlb.c
--- a/xen/arch/ia64/vmx/vtlb.c  Wed Jan 24 12:16:44 2007 -0700
+++ b/xen/arch/ia64/vmx/vtlb.c  Wed Jan 24 12:21:37 2007 -0700
@@ -248,6 +248,7 @@ u64 guest_vhpt_lookup(u64 iha, u64 *pte)
                   "tnat.nz p6,p7=r9;;"
                   "(p6) mov %0=1;"
                   "(p6) mov r9=r0;"
+                  "(p7) extr.u r9=r9,0,53;;"
                   "(p7) mov %0=r0;"
                   "(p7) st8 [%2]=r9;;"
                   "ssm psr.ic;;"

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