This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]