From cf7423d4fe9697707010fcf1b8f4f95a6b73d278 Mon Sep 17 00:00:00 2001 From: green Date: Mon, 19 Jul 2004 23:29:36 +0000 Subject: 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 --- sys/vm/vm_contig.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys') 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 -- cgit v1.1