Messages in this thread | | | Subject | Re: [ANNOUNCE] 3.2.9-rt17 | From | Steven Rostedt <> | Date | Fri, 09 Mar 2012 07:51:48 -0500 |
| |
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
| |