Re: Wanted: simple, safe x86 stack overflow detection

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bill Irwin <bill.irwin@...>
Cc: Hugh Dickins <hugh@...>, Chuck Ebbert <cebbert@...>, Andi Kleen <andi@...>, linux-kernel <linux-kernel@...>
Date: Wednesday, March 7, 2007 - 11:04 am

> > just removing the if() and the explicit IRQ enabling already makes irqs no longer nest...


hardirq handlers are supposed to be fast. If they're slow the code
should (and generally is) using bottom halves/tasklets/softirqs. Combine
this with the fact that each new irq handler will start with a bunch of
cache misses, the latency added isn't generally that significant. In
addition, the cache miss thing makes the nesting suck a lot, it's faster
to batch the irqs in sequence.

-- 
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Wanted: simple, safe x86 stack overflow detection, Chuck Ebbert, (Wed Feb 28, 10:27 am)
Re: Wanted: simple, safe x86 stack overflow detection, Arnd Bergmann, (Sun Mar 4, 9:18 pm)
Re: Wanted: simple, safe x86 stack overflow detection, Chuck Ebbert, (Tue Mar 6, 2:59 pm)
Re: Wanted: simple, safe x86 stack overflow detection, Hugh Dickins, (Tue Mar 6, 3:43 pm)
Re: Wanted: simple, safe x86 stack overflow detection, Arjan van de Ven, (Wed Mar 7, 12:28 am)
Re: Wanted: simple, safe x86 stack overflow detection, Arjan van de Ven, (Wed Mar 7, 8:34 am)
Re: Wanted: simple, safe x86 stack overflow detection, Eric W. Biederman, (Mon Mar 19, 4:53 pm)
Re: Wanted: simple, safe x86 stack overflow detection, Arjan van de Ven, (Wed Mar 7, 11:04 am)
Re: Wanted: simple, safe x86 stack overflow detection, Jan Engelhardt, (Wed Feb 28, 7:36 pm)
Re: Wanted: simple, safe x86 stack overflow detection, Thiago Galesi, (Wed Feb 28, 12:31 pm)