This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/6481] timers: stp_time_timer_callback calls mod_timer with interrupts disabled
- From: "joshua dot i dot stone at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 5 May 2008 18:48:44 -0000
- Subject: [Bug runtime/6481] timers: stp_time_timer_callback calls mod_timer with interrupts disabled
- References: <20080505170011.6481.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From joshua dot i dot stone at intel dot com 2008-05-05 18:48 -------
RT should still keeps the soft-IRQ handler on the same CPU, so I don't see any
issue with sleeping there. In fact, your worst-case comment won't even come to
pass, since the timer won't ever fire again until mod_timer has been called.
There's a similar possible bug in this callstack though:
__stp_init_time->add_timer->__mod_timer->...
That's called from an IPI to setup a timer on every CPU, so interrupts are
disabled. We might have to use an uglier mechanism to accomplish this, like a
set-affinity call to each CPU. :(
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6481
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.