Use region 7 addresses for the slabs in the PV and PT zones so that we

don't confuse the zone allocater by translating region 5 addresses to
region 7 addresses (which is unavoidable for PTEs).
This commit is contained in:
dfr 2002-05-04 12:21:32 +00:00
parent d0e80b0946
commit 430e2d7701

View File

@ -486,7 +486,7 @@ static void *
pmap_allocf(uma_zone_t zone, int bytes, u_int8_t *flags, int wait)
{
*flags = UMA_SLAB_PRIV;
return (void *)kmem_alloc(kernel_map, bytes);
return (void *)IA64_PHYS_TO_RR7(ia64_tpa(kmem_alloc(kernel_map, bytes)));
}
/*