Re: [PATCH 1/19] MUTEX: Introduce simple mutex implementation

Ingo Molnar
2005-12-14T08:32:25Z

* David Howells <dhowells@redhat.com> 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