Page MenuHomeFreeBSD

Restructure fault to eliminate a goto and label.
ClosedPublic

Authored by jeff on Wed, Jan 22, 7:23 PM.

Details

Summary

As Doug noticed this is a bit cleaner.

I could almost see making a vm_fault_object() call that wraps up the various stages in the loop but for now I'm reasonably happy with this.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jeff created this revision.Wed, Jan 22, 7:23 PM
jeff edited the summary of this revision. (Show Details)Wed, Jan 22, 7:25 PM
jeff added reviewers: alc, dougm, kib, markj.
jeff set the repository for this revision to rS FreeBSD src repository.
dougm accepted this revision.Wed, Jan 22, 7:42 PM
This revision is now accepted and ready to land.Wed, Jan 22, 7:42 PM
kib accepted this revision.Wed, Jan 22, 8:21 PM

Note that the title of the review is misleading.

markj accepted this revision.Wed, Jan 22, 8:40 PM