Re: mod_timer in interrupt context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux