Wrap a long line.
Deindent the innermost loop by making a simple control-flow change.
Add a comment explaining why we may exit the innermost loop early when the page table pages have equal wired counts.
Replace an unnecessary test by a KASSERT. (This is the only functional change.)