Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2003 07:29:39 -0500 (CDT)
From:      Mark Tinguely <tinguely@casselton.net>
To:        l.ertl@univie.ac.at, tinguely@casselton.net
Cc:        current@freebsd.org
Subject:   Re: Another pmap related panic
Message-ID:  <200308261229.h7QCTdwN062563@casselton.net>
In-Reply-To: <20030826094910.M19846@leelou.in.tern>

next in thread | previous in thread | raw e-mail | index | archive | help
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@casselton.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308261229.h7QCTdwN062563>