On Tue, 12 Nov 2013, Drew Richardson wrote: > I am using a 16 core ARM Cortex-A15 dev board with a PREEMPT_RT > patched kernel. When I call mod_timer in the sched_switch tracepoint > from a kernel module the board locks up. This sounds ass backwards to begin with. Why on earth are you calling mod_timer from a tracepoint in the guts of the scheduler core? > The mod_timer function calls lock_timer_base which calls > spin_lock. This is fine in non-RT kernels, but in RT_FULL it's a > mutex which could block. Is it illegal to call mod_timer in this > context? It's not illegal in any jurisdiction AFAICT, but it's a nono on RT. And no, we are not going to change this. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html