Date: Tue, 21 Mar 2006 15:26:50 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 93714 for review Message-ID: <200603211526.k2LFQoc2054172@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=93714 Change 93714 by jhb@jhb_slimer on 2006/03/21 15:25:50 Fix a possible problem with alpha pmap. Affected files ... .. //depot/projects/smpng/sys/alpha/alpha/pmap.c#77 edit Differences ... ==== //depot/projects/smpng/sys/alpha/alpha/pmap.c#77 (text+ko) ==== @@ -617,12 +617,14 @@ vm_offset_t va = ((struct pmap_invalidate_page_arg *) arg)->va; #endif + critical_enter(); if (pmap->pm_active & PCPU_GET(cpumask)) { ALPHA_TBIS(va); alpha_pal_imb(); /* XXX overkill? */ } else { pmap_invalidate_asn(pmap); } + critical_exit(); } static void @@ -638,11 +640,13 @@ pmap_t pmap = (pmap_t) arg; #endif + critical_enter(); if (pmap->pm_active & PCPU_GET(cpumask)) { ALPHA_TBIA(); alpha_pal_imb(); /* XXX overkill? */ } else pmap_invalidate_asn(pmap); + critical_exit(); } static void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603211526.k2LFQoc2054172>