There is no point in calling vm_object_set_writeable_dirty() on an object
that is definitively known to be swap backed since its only effects are on vnode-backed objects. Reviewed by: kib
This commit is contained in:
parent
e225428f27
commit
18a22f96e0
@ -684,7 +684,6 @@ printf("wire_count %d busy %d flags %x hold_count %d act_count %d queue %d valid
|
||||
#endif
|
||||
}
|
||||
vm_object_pip_subtract(sc->object, 1);
|
||||
vm_object_set_writeable_dirty(sc->object);
|
||||
VM_OBJECT_UNLOCK(sc->object);
|
||||
return (rv != VM_PAGER_ERROR ? 0 : ENOSPC);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user