diff options
author | alc <alc@FreeBSD.org> | 2011-03-02 00:24:07 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2011-03-02 00:24:07 +0000 |
commit | 819143a80afe0fe0640b92c55e1ade6182863fe3 (patch) | |
tree | 9ea18393286a0b9c12c62f370b14b307ccee33cb /usr.sbin | |
parent | fe3682faa7ceb74593385e05e674a26741c498f5 (diff) | |
download | FreeBSD-src-819143a80afe0fe0640b92c55e1ade6182863fe3.zip FreeBSD-src-819143a80afe0fe0640b92c55e1ade6182863fe3.tar.gz |
Make a change to the implementation of the direct map to improve performance
on processors that support 1 GB pages. Specifically, if the end of physical
memory is not aligned to a 1 GB page boundary, then map the residual
physical memory with multiple 2 MB page mappings rather than a single 1 GB
page mapping. When a 1 GB page mapping is used for this residual memory,
access to the memory is slower than when multiple 2 MB page mappings are
used. (I suspect that the reason for this slowdown is that the TLB is
actually being loaded with 4 KB page mappings for the residual memory.)
X-MFC after: r214425
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions