Re: Another pmap related panic

From: Mark Tinguely <tinguely_at_casselton.net>
Date: Tue, 26 Aug 2003 07:29:39 -0500 (CDT)
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
_at__at_ -2056,6 +2056,7 _at__at_ 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
Received on Tue Aug 26 2003 - 03:29:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:20 UTC