Date: Tue, 8 Feb 2011 21:58:13 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r218457 - head/sys/sparc64/sparc64 Message-ID: <201102082158.p18LwDG5060981@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marius Date: Tue Feb 8 21:58:13 2011 New Revision: 218457 URL: http://svn.freebsd.org/changeset/base/218457 Log: Take advantage of accessing the kernel TSB via ASI_ATOMIC_QUAD_LDD_PHYS on SPARC64-V, too. Tested by: Michael Moll Modified: head/sys/sparc64/sparc64/pmap.c Modified: head/sys/sparc64/sparc64/pmap.c ============================================================================== --- head/sys/sparc64/sparc64/pmap.c Tue Feb 8 21:05:07 2011 (r218456) +++ head/sys/sparc64/sparc64/pmap.c Tue Feb 8 21:58:13 2011 (r218457) @@ -389,7 +389,8 @@ pmap_bootstrap(u_int cpu_impl) * not support it, yet. */ virtsz = roundup(physsz, PAGE_SIZE_4M << (PAGE_SHIFT - TTE_SHIFT)); - if (cpu_impl >= CPU_IMPL_ULTRASPARCIIIp) + if (cpu_impl == CPU_IMPL_SPARC64V || + cpu_impl >= CPU_IMPL_ULTRASPARCIIIp) tsb_kernel_ldd_phys = 1; else { dtlb_slots_avail = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102082158.p18LwDG5060981>