Re: [RFC] add module reference to struct tty_driver

From: Roman Zippel (zippel@linux-m68k.org)
Date: Wed Jan 15 2003 - 11:31:35 EST


Russell King wrote:
>
> On Tue, Jan 14, 2003 at 02:08:59PM -0800, Greg KH wrote:
> > Woah! Hm, this is going to cause lots of problems in drivers that have
> > been assuming that the BKL is grabbed during module unload, and during
> > open(). Hm, time to just fallback on the argument, "module unloading is
> > unsafe" :(
>
> Note that its the same in 2.4 as well. iirc, the BKL was removed from
> module loading/unloading sometime in the 2.3 timeline.

Um, my copy of 2.4 module.c still has lock_kernel()/unlock_kernel() all
over it and I'm quite sure that didn't change until 2.5.47.

bye, Roman

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



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:55 EST