On Fri, 2012-03-09 at 11:23 +0100, Thomas Gleixner wrote: > > Actually, you don't need to tell the lock owner you are waiting for it, > > you only need to make the lock itself have a priority, and the owner > > will inherit that priority as long as it holds the lock. > > Hmm, that would actually work, though I'm not too enthusiastic about > sched_yield(). I don't like sched_yield() either, but this is exactly what it was made for. To give a process with the same priority the CPU. -- 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