Date: Mon, 6 Sep 2004 11:32:05 GMT From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 61088 for review Message-ID: <200409061132.i86BW5Av075768@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=61088 Change 61088 by jmallett@jmallett_toxic on 2004/09/06 11:32:00 Wild-assed guess after having not gotten to think about MIPS for a while- maybe I need to be more judicious about flushing out the cache? I dunno, what with ASID tagging, but it's worth getting this thought out even if I can't test it, in trying to figure out why cached stuff goes wrong even though it worked at first. Affected files ... .. //depot/projects/mips/sys/mips/mips/pmap.c#39 edit Differences ... ==== //depot/projects/mips/sys/mips/mips/pmap.c#39 (text+ko) ==== @@ -1681,6 +1681,7 @@ alpha_pal_swpctx((u_long)td->td_md.md_pcbpaddr); */ } + mips_dcache_wbinv_all(); } void @@ -1691,6 +1692,7 @@ pmap = vmspace_pmap(td->td_proc->p_vmspace); atomic_clear_int(&pmap->pm_active, PCPU_GET(cpumask)); pmap_active = 0; + mips_dcache_wbinv_all(); } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409061132.i86BW5Av075768>