Previous commit left a piece of old code in that would leak top-level
PTPs; remove it.
This commit is contained in:
parent
7bc4971b7c
commit
8b6c180747
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: pmap.c,v 1.8 2002/07/04 10:38:26 fvdl Exp $ */
|
/* $NetBSD: pmap.c,v 1.9 2002/07/05 16:52:39 fvdl Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
@ -1770,11 +1770,6 @@ try_again:
|
|||||||
goto try_again;
|
goto try_again;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XXX Need a generic "I want memory" wchan */
|
|
||||||
while ((pmap->pm_pdir =
|
|
||||||
pool_cache_get(&pmap_pdp_cache, PR_NOWAIT)) == NULL)
|
|
||||||
(void) ltsleep(&lbolt, PVM, "pmapcr", hz >> 3, &pmaps_lock);
|
|
||||||
|
|
||||||
pmap->pm_pdirpa = pmap->pm_pdir[PDIR_SLOT_PTE] & PG_FRAME;
|
pmap->pm_pdirpa = pmap->pm_pdir[PDIR_SLOT_PTE] & PG_FRAME;
|
||||||
|
|
||||||
LIST_INSERT_HEAD(&pmaps, pmap, pm_list);
|
LIST_INSERT_HEAD(&pmaps, pmap, pm_list);
|
||||||
|
Loading…
Reference in New Issue
Block a user