map_domain_page per-vcpu cache still seems broken. Disable

while I fix it.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-01-11 20:03:53 +01:00
1 parent ab8eb5a3ef
commit 5ccd14f4cc
1 file changed
+3 -1
+3 -1
View File
@@ -40,6 +40,7 @@ void *map_domain_page(unsigned long pfn)
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 @@ void *map_domain_page(unsigned long pfn)
ASSERT(l1e_get_pfn(cache->l1tab[idx]) == pfn);
goto out;
}
#endif
spin_lock(&cache->lock);
@@ -90,7 +92,7 @@ void *map_domain_page(unsigned long pfn)
cache->l1tab[idx] = l1e_from_pfn(pfn, __PAGE_HYPERVISOR);
out:
/*out:*/
va = MAPCACHE_VIRT_START + (idx << PAGE_SHIFT);
return (void *)va;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.