diff options
author | green <green@FreeBSD.org> | 2004-07-19 23:29:36 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2004-07-19 23:29:36 +0000 |
commit | cf7423d4fe9697707010fcf1b8f4f95a6b73d278 (patch) | |
tree | 8de3149f504b51604a763c4ff19d7f173c37d73b /sys | |
parent | 3d95456d2a0e657d9abf3c66778dfd6e97587b96 (diff) | |
download | FreeBSD-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.c | 2 |
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 |