Fix (accidental?) lock order reversal in pmap_remove. Found when

a process that has mmap'd device mem exits.
This commit is contained in:
Peter Grehan 2005-01-21 01:02:38 +00:00
parent 2571c7f720
commit 94aa7aecdf
3 changed files with 3 additions and 3 deletions

View File

@ -1613,8 +1613,8 @@ pmap_remove(pmap_t pm, vm_offset_t sva, vm_offset_t eva)
pmap_pvo_remove(pvo, pteidx);
}
}
vm_page_unlock_queues();
PMAP_UNLOCK(pm);
vm_page_unlock_queues();
}
/*

View File

@ -1613,8 +1613,8 @@ pmap_remove(pmap_t pm, vm_offset_t sva, vm_offset_t eva)
pmap_pvo_remove(pvo, pteidx);
}
}
vm_page_unlock_queues();
PMAP_UNLOCK(pm);
vm_page_unlock_queues();
}
/*

View File

@ -1613,8 +1613,8 @@ pmap_remove(pmap_t pm, vm_offset_t sva, vm_offset_t eva)
pmap_pvo_remove(pvo, pteidx);
}
}
vm_page_unlock_queues();
PMAP_UNLOCK(pm);
vm_page_unlock_queues();
}
/*