diff options
author | gallatin <gallatin@FreeBSD.org> | 2003-08-07 18:35:16 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2003-08-07 18:35:16 +0000 |
commit | c68e3be3c4c8c3f0667b0384d2e96ce075cc8f1d (patch) | |
tree | b42ed3bd16813f77f27aaabcd21fa06246fbf919 /sys/alpha | |
parent | b7a534174e9b55c15246501b46d781ed3b1d2ece (diff) | |
download | FreeBSD-src-c68e3be3c4c8c3f0667b0384d2e96ce075cc8f1d.zip FreeBSD-src-c68e3be3c4c8c3f0667b0384d2e96ce075cc8f1d.tar.gz |
MFI386: Acquire the page queues lock in pmap_insert_entry(), from
i386/i386/pmap.c 1.423
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/pmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c index 59135a4..06b6089 100644 --- a/sys/alpha/alpha/pmap.c +++ b/sys/alpha/alpha/pmap.c @@ -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); } |