summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-12-28 00:19:40 +0000
committeralc <alc@FreeBSD.org>2002-12-28 00:19:40 +0000
commitf142c827ba04af2b614cc0c982e33765b2903821 (patch)
treed0265b6ca2299035259af0e248cbc2828a25c296 /sys/i386
parent9a94897a13121a5c2f7999c12cdce52c1bfab72b (diff)
downloadFreeBSD-src-f142c827ba04af2b614cc0c982e33765b2903821.zip
FreeBSD-src-f142c827ba04af2b614cc0c982e33765b2903821.tar.gz
Assert that the page queues lock is held in pmap_testbit().
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 5a54365..f9f102c 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -3007,7 +3007,7 @@ pmap_testbit(m, bit)
return FALSE;
s = splvm();
-
+ mtx_assert(&vm_page_queue_mtx, MA_OWNED);
TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) {
/*
* if the bit being tested is the modified bit, then
OpenPOWER on IntegriCloud