summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/booke
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/powerpc/booke
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/powerpc/booke')
-rw-r--r--sys/powerpc/booke/pmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/powerpc/booke/pmap.c b/sys/powerpc/booke/pmap.c
index 4d1043a..712967f 100644
--- a/sys/powerpc/booke/pmap.c
+++ b/sys/powerpc/booke/pmap.c
@@ -1918,7 +1918,6 @@ mmu_booke_protect(mmu_t mmu, pmap_t pmap, vm_offset_t sva, vm_offset_t eva,
if (prot & VM_PROT_WRITE)
return;
- vm_page_lock_queues();
PMAP_LOCK(pmap);
for (va = sva; va < eva; va += PAGE_SIZE) {
if ((pte = pte_find(mmu, pmap, va)) != NULL) {
@@ -1941,7 +1940,6 @@ mmu_booke_protect(mmu_t mmu, pmap_t pmap, vm_offset_t sva, vm_offset_t eva,
}
}
PMAP_UNLOCK(pmap);
- vm_page_unlock_queues();
}
/*
OpenPOWER on IntegriCloud