Re: [PATCH] hvc_console fix to protect hvc_write against ldiscwrite after hvc_close

From: Alan Cox
Date: Wed Sep 15 2004 - 17:47:46 EST


On Mer, 2004-09-15 at 21:41, Theodore Ts'o wrote:
> The current (I can't speak to what Alan Cox is going to change) rules
> with tty drivers is that tty drivers are supposed to close the line
> discpline in their close routines.

That has no actual effect in the real world because the ldisc can in
part be running on another processor at the same time in another
function. This is a crash case seen on 2.4 in the real world.

Alan

-
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/