summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-06-27 04:08:45 +0000
committerjeff <jeff@FreeBSD.org>2002-06-27 04:08:45 +0000
commit9d6ea37a8c07017a9c7d29a675fcdacc3bce608b (patch)
tree63f2cdb90e1efafcc7e17c71fad4df0c2ea70276 /sys
parent100d07d8c12e585da2afae57444fbf7cb26fa2fc (diff)
downloadFreeBSD-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.c2
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);
/*
OpenPOWER on IntegriCloud