Date: Thu, 19 Mar 2009 16:37:30 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sparc64/include tlb.h src/sys/sparc64/sparc64 machdep.c pmap.c Message-ID: <200903191637.n2JGbZ2c082432@repoman.freebsd.org>
index | next in thread | raw e-mail
marius 2009-03-19 16:37:30 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/sparc64/include tlb.h
sys/sparc64/sparc64 machdep.c pmap.c
Log:
SVN rev 190080 on 2009-03-19 16:37:30Z by marius
MFC: r186682
- Currently the PMAP code is laid out to let the kernel TSB cover the
whole KVA space using one locked 4MB dTLB entry per GB of physical
memory. On Cheetah-class machines only the dt16 can hold locked
entries though, which would be completely consumed for the kernel
TSB on machines with >= 16GB. Therefore limit the KVA space to use
no more than half of the lockable dTLB slots, given that we need
them also for other things.
- Add sanity checks which ensure that we don't exhaust the (lockable)
TLB slots.
Revision Changes Path
1.26.22.3 +2 -0 src/sys/sparc64/include/tlb.h
1.138.2.10 +15 -0 src/sys/sparc64/sparc64/machdep.c
1.166.2.9 +11 -1 src/sys/sparc64/sparc64/pmap.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903191637.n2JGbZ2c082432>
