Re: [patch] 2.4.0, 2.2.18: A critical problem with tty_io.c

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 18 May 2001 09:24:22 +0100 (BST)


> > drivers and fix their open/close routines to work with this patch? Peter
> > and I can take some time to do that--if that would help.
>
> That would be one big help. Having done that I'd like to go over it all with
> Ted first (if he has time) before I push it to Linus

So I stuck my justify this change to Ted hat on. And failed.

For one the cleanest way to handle all the locking is to propogate the other
locking fix styles into both the ldisc and serial drivers. At least for 2.4
until the 2.5 folks get their deep magic inactivity based clean up working

The advantage of doing that is that modules that do play with use counts will
not do anything worse than they do now, and will remain fully compatible.

The ldisc race is also real and completely unfixed right now.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/