Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Jachym Holecek <freza@netbsd.org>
List: source-changes
Date: 11/29/2006 19:56:47
Module Name: src
Committed By: freza
Date: Wed Nov 29 19:56:47 UTC 2006
Modified Files:
src/sys/arch/evbppc/explora: machdep.c
src/sys/arch/evbppc/obs405: obs200_machdep.c obs266_machdep.c
src/sys/arch/evbppc/walnut: machdep.c
src/sys/arch/powerpc/ibm4xx: pmap.c
Log Message:
Instead of mapping whole RAM with reserved TLB entries, map just enough
to ensure trap code will work (that is 0 upto ${endkernel}) and leave the
rest to pmap_tlbmiss(). Mapping whole physmem into the kernel wired way
too many TLB entries, see
http://mail-index.netbsd.org/port-powerpc/2006/10/27/0000.html
for performance analysis. While there, be a bit more descriptive in
pmap_tlbmiss() comment and use macro instead of numeric constant.
OK by Simon Burge
To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/arch/evbppc/explora/machdep.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/evbppc/obs405/obs200_machdep.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/evbppc/obs405/obs266_machdep.c
cvs rdiff -r1.30 -r1.31 src/sys/arch/evbppc/walnut/machdep.c
cvs rdiff -r1.43 -r1.44 src/sys/arch/powerpc/ibm4xx/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.