Re: [PATCH] Priority Lists for the RT mutex

From: Ingo Molnar
Date: Mon Apr 11 2005 - 03:45:27 EST



* Perez-Gonzalez, Inaky <inaky.perez-gonzalez@xxxxxxxxx> wrote:

> >OTOH, deadlock detection is another issue. It's quite expensive and i'm
> >not sure we want to make it a runtime thing. But for fusyn's deadlock
> >detection and safe teardown on owner-exit is a must-have i suspect?
>
> Not really. Deadlock check is needed on PI, so it can be done at the
> same time (you have to walk the chain anyway). In any other case, it
> is an option you can request (or not).

well, i was talking about the mutex code in PREEMPT_RT. There deadlock
detection is an optional debug feature. You dont _have_ to do deadlock
detection for the kernel's locks, and there's a difference in
performance.

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/