Re: Deadlock in serial driver 2.6.x

From: Andrew Morton
Date: Mon Jan 31 2005 - 03:52:10 EST


Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Sul, 2005-01-30 at 16:48, Russell King wrote:
> > Unsolvable as the tty layer currently stands. tty needs to not call back
> > into serial drivers when they supply read characters from their interrupt
> > functions.
>
> The tty layer cannot fix this for now, and I don't intend to fix it. Fix
> the serial driver: the fix is quite simple since you can keep a field in
> the driver for now to detect recursive calling into the echo case and
> don't relock.

Are we sure that the serial driver is the only one which will hit this
deadlock?
-
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/