This avoids reacquiring the object lock after fault is complete because we can now unbusy and pip wakeup without it.
It also releases the lock earlier in CoW and avoids an expensive copy while the object lock is held.
This avoids reacquiring the object lock after fault is complete because we can now unbusy and pip wakeup without it.
It also releases the lock earlier in CoW and avoids an expensive copy while the object lock is held.
Lint OK |
No Unit Test Coverage |
Buildable 27038 | |
Build 25327: arc lint + arc unit |
I find the names fault_deallocate() and unlock_and_deallocate() confusing. I don't have a good alternative at the moment though.
sys/vm/vm_fault.c | ||
---|---|---|
193 | Presumably this unlock can also be moved up? |
sys/vm/vm_fault.c | ||
---|---|---|
185 | I would suggest faultstate_deallocate. |