Re: [PATCH] Abstracted Priority Inheritance for RT

From: Esben Nielsen
Date: Wed Jun 01 2005 - 09:09:15 EST


On Wed, 1 Jun 2005, Daniel Walker wrote:

>
>
> On Wed, 1 Jun 2005, Ingo Molnar wrote:
>
> > i'd rather not slow things down by callbacks and other abstraction
> > before seeing how things want to integrate in fact. Do we really need
> > the callbacks?
>
> I think it would be hard to do without a way to signal when a waiter
> changes priorties.

Do you plan to use that callback for priority inheritance?
If so: It would lead to an recursive algorithm. That is not very nice in
the kernel with a limited call-stack. It is not so much a problem if the
mechanism is used in the kernel only, but if it is used for user-space
locking, which can have unlimited neesting, it is potential problem.

Esben

> [...]
>
> Daniel
>

-
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/