Date: Wed, 27 Sep 2006 04:53:40 +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: <200609270453.k8R4reWr036028@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609270453.k8R4reWr036028>
