Re: uvm_fault: split out handling of case 1

2020-11-12 Thread Theo Buehler
On Fri, Nov 06, 2020 at 10:12:27AM -0300, Martin Pieuchot wrote: > Diff below moves the logic dealing with faults of case 1A & 1B to its > own function. > > With this, the logic in uvm_fault() now only deals with case 2 and the > various if/else/goto dances can be simplified. > > As for the

uvm_fault: split out handling of case 1

2020-11-06 Thread Martin Pieuchot
Diff below moves the logic dealing with faults of case 1A & 1B to its own function. With this, the logic in uvm_fault() now only deals with case 2 and the various if/else/goto dances can be simplified. As for the previous refactoring diffs, the name is taken from NetBSD but the implementation is