cvs commit: src/sys/sparc64/sparc64 tsb.c
Alan Cox
alc at FreeBSD.org
Tue Sep 26 21:53:43 PDT 2006
alc 2006-09-27 04:53:40 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/sparc64/sparc64 tsb.c
Log:
MFC revision 1.38
The sparc64/sparc64/pmap.c implementations of pmap_remove(),
pmap_protect(), and pmap_copy() have optimizations for regions
larger than PMAP_TSB_THRESH (which works out to 16MB). This
caused a panic in tsb_foreach for kernel mappings, since
pm->pm_tsb is NULL in that case. This fix teaches tsb_foreach
to use the kernel's tsb in that case.
Approved by: re (mux)
Revision Changes Path
1.37.2.1 +15 -6 src/sys/sparc64/sparc64/tsb.c
More information about the cvs-src
mailing list