lkml.org 
[lkml]   [2005]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Abstracted Priority Inheritance for RT
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-01 16:11    [W:0.095 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site