In kern/12554 workaround in pmap_page_remove, don't forget to unmap

(and unlock) the other pmap's pte's before continuing to the next
pmap.  Avoids pmap lock leaks (generates LOCKDEBUG warning, deadlocks
MULTIPROCESSOR).
This commit is contained in:
sommerfeld 2001-05-23 04:25:35 +00:00
parent 735202e79f
commit 8676150cb7
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.123 2001/04/29 04:42:04 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.124 2001/05/23 04:25:35 sommerfeld Exp $ */
/*
*
@ -2352,6 +2352,7 @@ pmap_page_remove(pg)
VM_PAGE_TO_PHYS(pg), pg->wire_count);
#endif
prevptr = &pve->pv_next;
pmap_unmap_ptes(pve->pv_pmap); /* unlocks pmap */
continue;
}
#endif /* kern/12554 */