Set the UMA_ZONE_VM flag on the pvzone to avoid kmem_map recursion.

This commit is contained in:
Jeff Roberson 2002-06-27 04:08:45 +00:00
parent 1228a1c634
commit 09122f6371

View File

@ -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);
/*