summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_pageout.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2012-10-13 18:46:46 +0000
committeralc <alc@FreeBSD.org>2012-10-13 18:46:46 +0000
commitc84b1820ea170ef65bd7b322aa5c2515223ee719 (patch)
treedfeec54b15f87e15956732443e4b9c8fea7fd705 /sys/vm/vm_pageout.c
parent7595cc54ef03b3dfdb45284339c1990929db746e (diff)
downloadFreeBSD-src-c84b1820ea170ef65bd7b322aa5c2515223ee719.zip
FreeBSD-src-c84b1820ea170ef65bd7b322aa5c2515223ee719.tar.gz
Eliminate the conditional for releasing the page queues lock in
vm_page_sleep(). vm_page_sleep() is no longer called with this lock held. Eliminate assertions that the page queues lock is NOT held. These assertions won't translate well to having distinct locks on the active and inactive page queues, and they really aren't that useful. MFC after: 3 weeks
Diffstat (limited to 'sys/vm/vm_pageout.c')
-rw-r--r--sys/vm/vm_pageout.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index d533673..87b4318 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -476,7 +476,6 @@ vm_pageout_flush(vm_page_t *mc, int count, int flags, int mreq, int *prunlen,
int i, runlen;
VM_OBJECT_LOCK_ASSERT(object, MA_OWNED);
- mtx_assert(&vm_page_queue_mtx, MA_NOTOWNED);
/*
* Initiate I/O. Bump the vm_page_t->busy counter and
OpenPOWER on IntegriCloud