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

[Xen-changelog] map_domain_page per-vcpu cache still seems broken. Disable



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 1c186b28289bc03060e971e863719cbda62ab481
# Parent  b7e88c83b2a0991590e5d46531d487a3356cd4fb
map_domain_page per-vcpu cache still seems broken. Disable
while I fix it.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r b7e88c83b2a0 -r 1c186b28289b xen/arch/x86/x86_32/domain_page.c
--- a/xen/arch/x86/x86_32/domain_page.c Wed Jan 11 18:44:54 2006
+++ b/xen/arch/x86/x86_32/domain_page.c Wed Jan 11 19:03:53 2006
@@ -40,6 +40,7 @@
     cache = &d->arch.mapcache;
 
     hashent = &cache->vcpu_maphash[vcpu].hash[MAPHASH_HASHFN(pfn)];
+#if 0
     if ( hashent->pfn == pfn )
     {
         idx = hashent->idx;
@@ -48,6 +49,7 @@
         ASSERT(l1e_get_pfn(cache->l1tab[idx]) == pfn);
         goto out;
     }
+#endif
 
     spin_lock(&cache->lock);
 
@@ -90,7 +92,7 @@
 
     cache->l1tab[idx] = l1e_from_pfn(pfn, __PAGE_HYPERVISOR);
 
- out:
+/*out:*/
     va = MAPCACHE_VIRT_START + (idx << PAGE_SHIFT);
     return (void *)va;
 }

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