Remove the page queues lock around vm_page_undirty() - it is no longer needed.
Reviewed by: alc
This commit is contained in:
parent
404a593e28
commit
3c907063e9
@ -326,9 +326,7 @@ page_lookup(vnode_t *vp, int64_t start, int64_t off, int64_t nbytes)
|
||||
if (vm_page_sleep_if_busy(pp, FALSE, "zfsmwb"))
|
||||
continue;
|
||||
vm_page_busy(pp);
|
||||
vm_page_lock_queues();
|
||||
vm_page_undirty(pp);
|
||||
vm_page_unlock_queues();
|
||||
} else {
|
||||
if (__predict_false(obj->cache != NULL)) {
|
||||
vm_page_cache_free(obj, OFF_TO_IDX(start),
|
||||
|
Loading…
x
Reference in New Issue
Block a user