]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r205399
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 31 Mar 2010 22:05:49 +0000 (22:05 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 31 Mar 2010 22:05:49 +0000 (22:05 +0000)
commitdae0efce932bdf4a968dd88907ab92fdf59f4967
tree51a68658e04993ee0210769aea79baea77933159
parente33ae08d654945c6a02722b34ed4c56eaeb03e83
MFC: r205399

Improve the KVA space sizing of r186682; on machines with large dTLBs we
can actually use all of the available lockable entries of the tiny dTLB
for the kernel TSB. With this change the KVA space sizing happens to be
more in line with the MI one so up to at least 24GB machines KVA doesn't
need to be limited manually. This is just another stopgap though, the
real solution is to take advantage of ASI_ATOMIC_QUAD_LDD_PHYS on CPUs
providing it so we don't need to lock the kernel TSB pages into the dTLB
in the first place.

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