diff options
author | alc <alc@FreeBSD.org> | 2002-11-25 04:45:03 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-11-25 04:45:03 +0000 |
commit | c5c8eb6c560e94c705a5c0c1cd8ae38ea93fd589 (patch) | |
tree | 1e026b40dac809235421afba631135c2e9aea87d /sys/amd64 | |
parent | 9925b3077debb1e760379e66e8c1d89bce4bbbeb (diff) | |
download | FreeBSD-src-c5c8eb6c560e94c705a5c0c1cd8ae38ea93fd589.zip FreeBSD-src-c5c8eb6c560e94c705a5c0c1cd8ae38ea93fd589.tar.gz |
Assert that the page queues lock is held in pmap_remove_pages().
Approved by: re (blanket)
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index c5f0c8c..5906837 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) { |