]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The sparc64/sparc64/pmap.c implementations of pmap_remove(),
authoralc <alc@FreeBSD.org>
Fri, 22 Sep 2006 07:02:15 +0000 (07:02 +0000)
committeralc <alc@FreeBSD.org>
Fri, 22 Sep 2006 07:02:15 +0000 (07:02 +0000)
commitaf1e0e1577dc1cad8f00713af1ba0d150ce5b5c4
treec6b71540d807eed57185ef3007561f55687405f3
parent5f08ee5bcaa32a20b752d530da87ec5ed9e4c306
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
sys/sparc64/sparc64/tsb.c