o Lock page queue accesses by vm_page_activate().

This commit is contained in:
Alan Cox 2002-08-11 00:14:10 +00:00
parent 67ef391e00
commit 99cb3c4c0f

View File

@ -1970,7 +1970,9 @@ vm_freeze_copyopts(vm_object_t object, vm_pindex_t froma, vm_pindex_t toa)
pmap_copy_page(m_in, m_out);
m_out->valid = m_in->valid;
vm_page_dirty(m_out);
vm_page_lock_queues();
vm_page_activate(m_out);
vm_page_unlock_queues();
vm_page_wakeup(m_in);
}
vm_page_wakeup(m_out);