[Bug runtime/6481] timers: stp_time_timer_callback calls mod_timer with interrupts disabled

joshua dot i dot stone at intel dot com sourceware-bugzilla@sourceware.org
Tue May 6 21:10:00 GMT 2008


------- 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.



More information about the Systemtap mailing list