Re: And now for something _totally_ different: Linux v2.6.22-rc5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 	MAINTAINERS says riscom8 is orphaned so not sure
> > if anybody cares. Spotted this when playing with modprobe
> > walking /lib/modules/`uname -r`/kernel in a loop ;)
> 
> Oh wow.
> 
> I wonder why it does that. The code literally does:
> 
>         save_flags(flags);
>         cli();
>         tty_unregister_driver(riscom_driver);
>         put_tty_driver(riscom_driver);
>         restore_flags(flags);
> 
> and I don't see the point.
> 
> (And that's what then causes the warning: tty_unregister_driver will 
> eventually get a mutex, but the caller had disabled hardware interrupts..
> 
> I see absolutely *zero* reason for that whole save_flags/cli/restore_flags 
> dance at all, so I think the right thing to do is to just remove it.
> 
> I'm Cc'ing Alan, in case he cares. 
> 
> Mariusz, if you actually *use* the dang thing, and really care, you can 
> send me a tested patch. I can pretty much guarantee that removing those 
> irq games won't make things any worse, but no way am I going to just 
> remove it on my own without any users or any testing.

Unfortunately I can test it only the way I did it so far. That means no real
hardware :-/ This also implies I do care but not that much ;-) If you want any
patches to be tested that way -> feel free to mail me.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux