diff options
author | jeff <jeff@FreeBSD.org> | 2002-06-27 04:08:45 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2002-06-27 04:08:45 +0000 |
commit | 9d6ea37a8c07017a9c7d29a675fcdacc3bce608b (patch) | |
tree | 63f2cdb90e1efafcc7e17c71fad4df0c2ea70276 /sys | |
parent | 100d07d8c12e585da2afae57444fbf7cb26fa2fc (diff) | |
download | FreeBSD-src-9d6ea37a8c07017a9c7d29a675fcdacc3bce608b.zip FreeBSD-src-9d6ea37a8c07017a9c7d29a675fcdacc3bce608b.tar.gz |
Set the UMA_ZONE_VM flag on the pvzone to avoid kmem_map recursion.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/alpha/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c index d2fb088..c758edb 100644 --- a/sys/alpha/alpha/pmap.c +++ b/sys/alpha/alpha/pmap.c @@ -610,7 +610,7 @@ pmap_init(phys_start, phys_end) if (initial_pvs < MINPV) initial_pvs = MINPV; pvzone = uma_zcreate("PV ENTRY", sizeof (struct pv_entry), NULL, NULL, - NULL, NULL, UMA_ALIGN_PTR, 0); + NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_VM); uma_zone_set_allocf(pvzone, pmap_allocf); uma_prealloc(pvzone, initial_pvs); /* |