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

From: Ingo Molnar
Date: Thu Mar 24 2005 - 05:44:07 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/