summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-12-29 04:18:22 +0000
committeralc <alc@FreeBSD.org>2004-12-29 04:18:22 +0000
commitec1a7d072a9131d326cf2440695997c88d3fbc5d (patch)
tree72f7febf1a4899a4f5bacacf9c984ea36a97b85e /sys/vm
parenta1aa4db7096aeebad48008d1ca1bd95b09c3acbd (diff)
downloadFreeBSD-src-ec1a7d072a9131d326cf2440695997c88d3fbc5d.zip
FreeBSD-src-ec1a7d072a9131d326cf2440695997c88d3fbc5d.tar.gz
Access to the page's busy field is (now) synchronized by the containing
object's lock. Therefore, the assertion that the page queues lock is held can be removed from vm_page_io_start().
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_page.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 68688ad..5a0b7ac 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -342,7 +342,6 @@ vm_page_io_start(vm_page_t m)
{
VM_OBJECT_LOCK_ASSERT(m->object, MA_OWNED);
- mtx_assert(&vm_page_queue_mtx, MA_OWNED);
m->busy++;
}
OpenPOWER on IntegriCloud