]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r219157
authoralc <alc@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 4 Dec 2011 18:55:19 +0000 (18:55 +0000)
committeralc <alc@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 4 Dec 2011 18:55:19 +0000 (18:55 +0000)
commitf1f9f1ceabe6f46d8512c26bd892c50ffc47e2bf
tree83ec7a7b2004a665f34c5c4bba0256c4db31c241
parent2f1bb9972916915fef8dc73b580861d19baf819c
MFC r219157
  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.)

git-svn-id: svn://svn.freebsd.org/base/stable/8@228262 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/pmap.c