On Thu, 27 Feb 2014 09:07:39 +0530 doug lkml <doug.lkml@xxxxxxxxx> wrote: > I put it across as a stack trace, rather than the way you've put it across. > Here's what I had in mind, > > local_irq_save(); > some_function(); > rt_spin_lock() --> this calls __might_sleep > local_irq_restore(); --> In this case there's a bug right? Yes, that's a bug. And that's why you'll see a lot of updates in the -rt patch with things like: local_irq_save_nort(). And this is also the cause of some of the #ifdef CONFIG_PREEMPT_RT_FULL. And what makes this change so challenging ;-) -- Steve -- 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