Re: [PATCH] Abstracted Priority Inheritance for RT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux