Date: Thu, 24 Jan 2008 23:10:12 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 134040 for review Message-ID: <200801242310.m0ONACH6026061@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134040 Change 134040 by jb@jb_freebsd1 on 2008/01/24 23:09:36 Set/clear the per-cpu flag to indicate we've come from an interrupt. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/cyclic/amd64/cyclic_machdep.c#2 edit .. //depot/projects/dtrace/src/sys/cddl/cyclic/i386/cyclic_machdep.c#2 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/cyclic/amd64/cyclic_machdep.c#2 (text+ko) ==== @@ -93,8 +93,12 @@ c->cpu_profile_upc = 0; } + c->cpu_intr_actv = 1; + /* Fire any timers that are due. */ cyclic_fire(c); + + c->cpu_intr_actv = 0; } } ==== //depot/projects/dtrace/src/sys/cddl/cyclic/i386/cyclic_machdep.c#2 (text+ko) ==== @@ -93,8 +93,12 @@ c->cpu_profile_upc = 0; } + c->cpu_intr_actv = 1; + /* Fire any timers that are due. */ cyclic_fire(c); + + c->cpu_intr_actv = 0; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801242310.m0ONACH6026061>