aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2002-11-30 17:46:59 +0000
committerAlan Cox <alc@FreeBSD.org>2002-11-30 17:46:59 +0000
commit0d51d232e5107bf978170478cec35b494ce2abbb (patch)
treef3c99d4dc967dc570632ef374c81d5274876689b /sys/amd64
parentccda14e09fbe62d6af69a6a02f900d61de1fb113 (diff)
downloadsrc-0d51d232e5107bf978170478cec35b494ce2abbb.tar.gz
src-0d51d232e5107bf978170478cec35b494ce2abbb.zip
Assert that the page queues lock is held in pmap_page_exists_quick().
Approved by: re (blanket)
Notes
Notes: svn path=/head/; revision=107410
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 5906837374e4..6424880b5850 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -2867,7 +2867,7 @@ pmap_page_exists_quick(pmap, m)
return FALSE;
s = splvm();
-
+ mtx_assert(&vm_page_queue_mtx, MA_OWNED);
TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) {
if (pv->pv_pmap == pmap) {
splx(s);