aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2002-11-25 04:45:03 +0000
committerAlan Cox <alc@FreeBSD.org>2002-11-25 04:45:03 +0000
commitffb309581fbf2e2adbcf46b6657c98183bd398a2 (patch)
tree1e026b40dac809235421afba631135c2e9aea87d
parent2d21129db2f1c62575fa3d1900f5df69ee36a49e (diff)
Notes
-rw-r--r--sys/amd64/amd64/pmap.c2
-rw-r--r--sys/i386/i386/pmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index c5f0c8c404763..5906837374e47 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -2906,7 +2906,7 @@ pmap_remove_pages(pmap, sva, eva)
return;
}
#endif
-
+ mtx_assert(&vm_page_queue_mtx, MA_OWNED);
s = splvm();
for (pv = TAILQ_FIRST(&pmap->pm_pvlist); pv; pv = npv) {
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index c5f0c8c404763..5906837374e47 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -2906,7 +2906,7 @@ pmap_remove_pages(pmap, sva, eva)
return;
}
#endif
-
+ mtx_assert(&vm_page_queue_mtx, MA_OWNED);
s = splvm();
for (pv = TAILQ_FIRST(&pmap->pm_pvlist); pv; pv = npv) {