mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Reference in a new issue