Re: [PATCH] Priority Lists for the RT mutex

From: Ingo Molnar
Date: Mon Apr 11 2005 - 04:00:10 EST



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

> Let me re-phrase then: it is a must have only on PI, to make sure you
> don't have a loop when doing it. Maybe is a consequence of the
> algorithm I chose. -However- it should be possible to disable it in
> cases where you are reasonably sure it won't happen (such as kernel
> code). In any case, AFAIR, I still did not implement it.

are there cases where userspace wants to disable deadlock-detection for
its own locks?

the deadlock detector in PREEMPT_RT is pretty much specialized for
debugging (it does all sorts of weird locking tricks to get the first
deadlock out, and to really report it on the console), but it ought to
be possible to make it usable for userspace-controlled locks as well.

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/