mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
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:
parent
d9fc2b816e
commit
9e861cfaa4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96029
@ -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)));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user