Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-07

Ingo Molnar
2005-03-24T10:43:19Z

* Steven Rostedt <rostedt@goodmis.org> wrote:

> This way when process C tries to get the lock again, it sees that it's
> owned, but B hasn't executed yet. So it would be safe for C to take
> the lock back from B, that is if C is greater priority than B,
> otherwise it would act the same.

agreed. In particular this would be a nice optimization for cases where
tasks are delayed for a longer time due to CPU congestion (e.g. lots of
tasks on the same SCHED_FIFO priority). So if a higher prio task comes
along while the

> If you agree with this approach, I would be willing to write a patch
> for you.

yeah - please do.

Ingo