Revert revision 1.164: pmap_qremove() does not require protection by
VM_LOCK_GIANT. Discussed with: jeff
This commit is contained in:
parent
1bd8c187c0
commit
7daa3570e4
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user