summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2005-05-28 17:13:36 +0000
committeralc <alc@FreeBSD.org>2005-05-28 17:13:36 +0000
commitedf3f9f2acfa5edbc928be84fadab9f7e53c7516 (patch)
treea760320fdd0f1c005fd5212af5088c7f96ae87f0 /sys
parente678735f9fd02585f23e7b5a3a837a9d166630f1 (diff)
downloadFreeBSD-src-edf3f9f2acfa5edbc928be84fadab9f7e53c7516.zip
FreeBSD-src-edf3f9f2acfa5edbc928be84fadab9f7e53c7516.tar.gz
pmap_enter() no longer requires Giant. Therefore, stop acquiring and
releasing it in pmap_enter_quick(). MFC after: 3 weeks
Diffstat (limited to 'sys')
-rw-r--r--sys/sparc64/sparc64/pmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c
index c1aba80..884b476 100644
--- a/sys/sparc64/sparc64/pmap.c
+++ b/sys/sparc64/sparc64/pmap.c
@@ -1404,9 +1404,7 @@ pmap_enter_quick(pmap_t pm, vm_offset_t va, vm_page_t m, vm_page_t mpte)
vm_page_busy(m);
vm_page_unlock_queues();
VM_OBJECT_UNLOCK(m->object);
- mtx_lock(&Giant);
pmap_enter(pm, va, m, VM_PROT_READ | VM_PROT_EXECUTE, FALSE);
- mtx_unlock(&Giant);
VM_OBJECT_LOCK(m->object);
vm_page_lock_queues();
vm_page_wakeup(m);
OpenPOWER on IntegriCloud