From 7daa3570e4485df3ae442c8f468f9b43b4cd88b0 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 14 May 2005 05:09:11 +0000 Subject: [PATCH] Revert revision 1.164: pmap_qremove() does not require protection by VM_LOCK_GIANT. Discussed with: jeff --- sys/kern/vfs_cluster.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 0903b8bb07f..bdc6ecf38b1 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -515,9 +515,7 @@ cluster_callback(bp) if (bp->b_ioflags & BIO_ERROR) error = bp->b_error; - VM_LOCK_GIANT(); pmap_qremove(trunc_page((vm_offset_t) bp->b_data), bp->b_npages); - VM_UNLOCK_GIANT(); /* * Move memory from the large cluster buffer into the component * buffers and mark IO as done on these.