lkml.org 
[lkml]   [1998]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Strange interrupt behaviour
From
Date
Andrea Arcangeli <arcangeli@mbox.queen.it> writes:

> On Mon, 13 Jul 1998, Linus Torvalds wrote:
>
> >Oh, having separate interrupt stacks _works_, and on some architectures it
>
> I hacked irq.c and now seems to work on Linux too ;-).

[...]

This does not seem to handle nested interrupts correctly. A nested IRQ
will overwrite its own stack. Also I think per-IRQ stacks are overkill,
a per-CPU interrupt stack is enough. You can make this stack bigger if you
worry about nested interrupts.

This would also have the benefit of increased cache locality.

-Andi

-
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.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.066 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site