Another pmap related panic

Mark Tinguely tinguely at casselton.net
Tue Aug 26 05:29:41 PDT 2003


It could be a memory problem. Could you also please apply an assert
to pmap_enter_quick() + INVARIANTS. This is a quick test that checks
all the other paths that call pmap_enter_quick() are locked out so
that two processors cannot be using the PADDR1/PMAP1 at the same time.

--- pmap.c.orig	Mon Aug 25 08:46:03 2003
+++ pmap.c	Tue Aug 26 07:16:06 2003
@@ -2056,6 +2056,7 @@ pmap_enter_quick(pmap_t pmap, vm_offset_
 	pt_entry_t *pte;
 	vm_paddr_t pa;
 
+	mtx_assert(&vm_page_queue_mtx, MA_OWNED);
 	/*
 	 * In the case that a page table page is not
 	 * resident, we are creating it here.

--Mark Tinguely		tinguely at casselton.net


More information about the freebsd-current mailing list