Date: Tue, 8 Jun 2004 05:46:36 GMT From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 54399 for review Message-ID: <200406080546.i585kaa4055789@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=54399 Change 54399 by jmallett@jmallett_oingo on 2004/06/08 05:46:09 Notes to self on lessons not to be learned from Alpha. Affected files ... .. //depot/projects/mips/sys/mips/mips/trap.c#19 edit Differences ... ==== //depot/projects/mips/sys/mips/mips/trap.c#19 (text+ko) ==== @@ -117,9 +117,16 @@ return (tf); case TrInt: platform_trap_exit(); - atomic_add_int(&curthread->td_intr_nesting_level, 1); +#if 0 + /* + * It looks like these break interrupt preemption. + */ + critical_enter(); +#endif platform_intr(tf); - atomic_subtract_int(&curthread->td_intr_nesting_level, 1); +#if 0 + critical_exit(); +#endif if (curthread) tf = curthread->td_frame; return (tf);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406080546.i585kaa4055789>