Comments & style cleanup, no functional change intended.
authormpi <mpi@openbsd.org>
Tue, 16 Feb 2021 09:10:17 +0000 (09:10 +0000)
committermpi <mpi@openbsd.org>
Tue, 16 Feb 2021 09:10:17 +0000 (09:10 +0000)
commit2ed91a5804cf7e2ca81279d9dc69f5d0647c4cdb
tree2cf784d925f120b20a9c7cbdf9d46fffed7a6781
parent7a9fb462c9b7bc8994cc67a091d32431939d3a05
Comments & style cleanup, no functional change intended.

- Sync comments with NetBSD including locking details.
- Remove superfluous parenthesis and spaces.
- Add brackets, even if questionable, to reduce diff with NetBSD
- Use for (;;) instead of while(1)
- Rename a variable from 'result' into 'error'.
- Move uvm_fault() and uvm_fault_upper_lookup()
- Add an locking assert in uvm_fault_upper_lookup()

ok tb@, mlarkin@
sys/uvm/uvm_fault.c