cvs commit: src/sys/sparc64/sparc64 tsb.c
Alan Cox
alc at FreeBSD.org
Fri Sep 22 00:02:15 PDT 2006
alc 2006-09-22 07:02:15 UTC
FreeBSD src repository
Modified files:
sys/sparc64/sparc64 tsb.c
Log:
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.
Submitted by: Michael Plass
MFC after: 3 days
Revision Changes Path
1.38 +15 -6 src/sys/sparc64/sparc64/tsb.c
More information about the cvs-src
mailing list