]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Tidy up pmap_copy(). Notably, deindent the innermost loop by making a
authorAlan Cox <alc@FreeBSD.org>
Mon, 1 Jul 2019 22:00:42 +0000 (22:00 +0000)
committerAlan Cox <alc@FreeBSD.org>
Mon, 1 Jul 2019 22:00:42 +0000 (22:00 +0000)
commitb6ce9ba9c379ca41bc11da0a5143297c00d62c59
tree47d5f613c2f74cff7f5ef48befbe8fe3dda9aa85
parenta4e0b5a4719b1c38c9dcd84715711d301c5d9366
Tidy up pmap_copy().  Notably, deindent the innermost loop by making a
simple change to the control flow.  Replace an unnecessary test by a
KASSERT.  Add a comment explaining an obscure test.

Reviewed by: kib, markj
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D20812
sys/amd64/amd64/pmap.c