Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation
From: Ingo Molnar
Date: Wed Dec 14 2005 - 03:33:09 EST
* David Howells <dhowells@xxxxxxxxxx> wrote:
> (3) Some people want mutexes to be:
>
> (a) only releasable in the same context as they were taken
>
> (b) not accessible in interrupt context, or that (a) applies here also
>
> (c) not initialisable to the locked state
>
> But this means that the current usages all have to be carefully audited,
> and sometimes that unobvious.
(a) and (c) is not a big problem, are they are essentially the
constraints of -rt mutexes. As long as there's good debugging code, it's
very much doable. We dont want to change semantics _yet again_, later
down the line.
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/