Messages in this thread | | | Date | Fri, 9 Mar 2012 11:23:05 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [ANNOUNCE] 3.2.9-rt17 |
| |
On Thu, 8 Mar 2012, Steven Rostedt wrote: > On Fri, 2012-03-09 at 01:20 +0100, Thomas Gleixner wrote: > > So yopu need to replace the trylock by try_deadlock() and boost the > > lock owner w/o blocking on the lock. That means that you need some > > other means to tell the lock owner that you are waiting for it w/o > > actually waiting. > > 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().
Thanks,
tglx
| |