Re: pre-2.1.132-2..

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Fri, 18 Dec 1998 12:45:40 +0100 (CET)


On Fri, 18 Dec 1998, Andrea Arcangeli wrote:

> On Thu, 17 Dec 1998, Linus Torvalds wrote:
>
> > - disable_irq()/enable_irq() now nests properly, as Alan convinced me
> > (quite rightly) that they have to nest in order to work sanely with
> > shared interrupt and multiple CPU's and various other schenarios.
>
> The disable_irq depth patch cause my kernel to crash under X at the first
> PC beep. In drivers/char/*. there aren't suspect/obvious
> disable/enable_irq() misusage though...
>
> To generate a beep I launch emacs and I press C^g.

i think the kernel should moan about counter underflows. Does it work if
you fix it this way?

(something like {if(!counter) moan();} in irq.c line 706 or so ;)

just like we complain about dentry and buffer counter underflows ...

-- mingo

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