Revert revision 1.164: pmap_qremove() does not require protection by

VM_LOCK_GIANT.

Discussed with: jeff
This commit is contained in:
Alan Cox 2005-05-14 05:09:11 +00:00
parent 1bd8c187c0
commit 7daa3570e4

View File

@ -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.