Messages in this thread | | | Date | Thu, 21 Oct 2004 13:41:09 -0400 | Subject | Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8 | From | Scott Wood <> |
| |
On Thu, Oct 21, 2004 at 07:47:29PM +0400, Eugeny S. Mints wrote: > Seems it is too coplex model at least for the first step. The one of > possible trade-offs coming on mind is to trace the number of resources > (mutexes) held by a process and to restore original priority only when > resource count reaches 0. This is one of the sollutions accepted by RTOS > guys.
That complicates analysis, though, since you now have to look at all critical sections that the shared-with-high-priority-threads critical sections nest in. IMHO, it's important that the inherited priority be given up as soon as the resource is released.
-Scott - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |