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.
Differential D22036
Reduce the scope of the object lock in fault. jeff on Oct 15 2019, 4:01 AM. Authored by Tags None Referenced Files
Subscribers
Details 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.
Diff Detail
Event TimelineComment Actions I find the names fault_deallocate() and unlock_and_deallocate() confusing. I don't have a good alternative at the moment though.
|