summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2004-07-19 23:29:36 +0000
committergreen <green@FreeBSD.org>2004-07-19 23:29:36 +0000
commitcf7423d4fe9697707010fcf1b8f4f95a6b73d278 (patch)
tree8de3149f504b51604a763c4ff19d7f173c37d73b /sys
parent3d95456d2a0e657d9abf3c66778dfd6e97587b96 (diff)
downloadFreeBSD-src-cf7423d4fe9697707010fcf1b8f4f95a6b73d278.zip
FreeBSD-src-cf7423d4fe9697707010fcf1b8f4f95a6b73d278.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_contig.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c
index 07fb96d..56df9a56 100644
--- a/sys/vm/vm_contig.c
+++ b/sys/vm/vm_contig.c
@@ -327,12 +327,10 @@ again1:
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
OpenPOWER on IntegriCloud