mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
MFI386: Acquire the page queues lock in pmap_insert_entry(), from
i386/i386/pmap.c 1.423
This commit is contained in:
parent
8bf7ab359a
commit
c8aacbdaa8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118631
@ -1552,10 +1552,11 @@ pmap_insert_entry(pmap_t pmap, vm_offset_t va, vm_page_t mpte, vm_page_t m)
|
||||
pv->pv_pmap = pmap;
|
||||
pv->pv_ptem = mpte;
|
||||
|
||||
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();
|
||||
splx(s);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user