Re: [PATCH][RFC]: mutex: adaptive spin

Linus Torvalds
2009-01-06T16:43:59Z

On Tue, 6 Jan 2009, Linus Torvalds wrote:
>
> Right now, if some process deadlocks on a mutex, we get hung process, but
> with a nice backtrace and hopefully other things (that don't need that
> lock) still continue to work.

Clarification: the "nice backtrace" we only get with something like
sysrq-W, of course. We don't get a backtrace _automatically_, but with an
otherwise live machine, there's a better chance that people do get wchan
or other info. IOW, it's at least a fairly debuggable situation.

Linus