summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-09-28 15:01:20 +0000
committerkib <kib@FreeBSD.org>2011-09-28 15:01:20 +0000
commit126da2118c9bfc035a3e776b170c20cb91a8b810 (patch)
treed8b64695a5f33c4d23f0ebc7e1beb8818858fe5c /sys/ia64
parente84b0ecd819abddadeed97fa141468b674261293 (diff)
downloadFreeBSD-src-126da2118c9bfc035a3e776b170c20cb91a8b810.zip
FreeBSD-src-126da2118c9bfc035a3e776b170c20cb91a8b810.tar.gz
Remove locking of the vm page queues from several pmaps, which only
protected the dirty mask updates. The dirty mask updates are handled by atomics after the r225840. Submitted by: alc Tested by: flo (sparc64) MFC after: 2 weeks
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/pmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index 37116f5..4c289df 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -1486,7 +1486,6 @@ pmap_protect(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, vm_prot_t prot)
if ((sva & PAGE_MASK) || (eva & PAGE_MASK))
panic("pmap_protect: unaligned addresses");
- vm_page_lock_queues();
PMAP_LOCK(pmap);
oldpmap = pmap_switch(pmap);
for ( ; sva < eva; sva += PAGE_SIZE) {
@@ -1514,7 +1513,6 @@ pmap_protect(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, vm_prot_t prot)
pmap_pte_prot(pmap, pte, prot);
pmap_invalidate_page(sva);
}
- vm_page_unlock_queues();
pmap_switch(oldpmap);
PMAP_UNLOCK(pmap);
}
OpenPOWER on IntegriCloud