Set the UMA_ZONE_VM flag on the pvzone to avoid kmem_map recursion.
This commit is contained in:
parent
1228a1c634
commit
09122f6371
@ -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);
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user