The map revalidation is hopefully rare so we could possibly even noinline or predict_false() the call.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 28833 Build 26841: arc lint + arc unit
Event Timeline
sys/vm/vm_fault.c | ||
---|---|---|
810 | Yeah I also prefer to lessen indent and have more early returns. I can do that. | |
826 | I meant to include that in this diff. I just added it to the list of vm errors. I am using KERN_RESOURCE_SHORTAGE to mean restart without fault_deallocate() and KERN_RESTART to mean restart with fault_deallocate(). It significantly reduces the number of places that call deallocate() and makes the error handling a little bit simpler. |