diff options
author | Mark Johnston <markj@FreeBSD.org> | 2020-09-19 15:22:04 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2020-09-19 15:22:04 +0000 |
commit | d26ab2bec024b00bbb753248256fe68265280bfa (patch) | |
tree | 2ae636f698a4050b335935958ca4d7ec8e483448 /cddl/contrib/opensolaris/cmd/dtrace/test/tst | |
parent | 918d5f5908907c63ed1c8054e805a6a7d4850917 (diff) | |
download | src-d26ab2bec024b00bbb753248256fe68265280bfa.tar.gz src-d26ab2bec024b00bbb753248256fe68265280bfa.zip |
Fix some nits in 1G page support in the amd64 pmap.
- Move assertions out of the main loop to avoid duplicate conditional
expressions, and improve assertion messages.
- Fix va_next updates. In some cases we were not doing the wraparound
check before continuing the loop.
- Use the right va_next. In pmap_advise() and pmap_copy() we would step
through 1G pages 2M at a time.
- Copy 1G mappings in pmap_copy().
Reviewed by: alc, kib
MFC with: r365518
Sponsored by: Juniper Networks, Inc., Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D26463
Notes
Notes:
svn path=/head/; revision=365906
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/dtrace/test/tst')
0 files changed, 0 insertions, 0 deletions