Remove extraneous locks on the VM free page queue mutex; it is not
meant to be recursed upon, and could cauuse a deadlock inside the new contigmalloc (vm.old_contigmalloc=0) code. Submitted by: alc
This commit is contained in:
parent
c24a895c52
commit
0aff42af1a
@ -327,12 +327,10 @@ contigmalloc1(
|
||||
static void
|
||||
vm_page_release_contigl(vm_page_t m, vm_pindex_t count)
|
||||
{
|
||||
mtx_lock_spin(&vm_page_queue_free_mtx);
|
||||
while (count--) {
|
||||
vm_page_free_toq(m);
|
||||
m++;
|
||||
}
|
||||
mtx_unlock_spin(&vm_page_queue_free_mtx);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user