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().
This commit is contained in:
Alan Cox 2004-12-29 04:18:22 +00:00
parent 15f224973d
commit 7aa2190c8e

View File

@ -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++;
}