MFi386 1.422 & 1.423: lock page queues in pmap_insert_entry().

This commit is contained in:
Marcel Moolenaar 2003-08-08 00:30:26 +00:00
parent 2766bd022f
commit f8e1f6d036
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118640

View File

@ -1068,9 +1068,11 @@ pmap_insert_entry(pmap_t pmap, vm_offset_t va, vm_page_t m)
pv->pv_pmap = pmap;
pv->pv_va = va;
vm_page_lock_queues();
TAILQ_INSERT_TAIL(&pmap->pm_pvlist, pv, pv_plist);
TAILQ_INSERT_TAIL(&m->md.pv_list, pv, pv_list);
m->md.pv_list_count++;
vm_page_unlock_queues();
}
/*