Date: Fri, 22 Sep 2006 07:02:15 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 tsb.c Message-ID: <200609220702.k8M72F2a053654@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609220702.k8M72F2a053654>
