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 - 8:34 am

On Tue, 2007-03-06 at 22:44 -0800, Bill Irwin wrote:

political will, or maybe just the lack of convincing people so far


it's simpler...

irqreturn_t handle_IRQ_event(unsigned int irq, struct irqaction *action)
{ 
        irqreturn_t ret, retval = IRQ_NONE;
        unsigned int status = 0;

        handle_dynamic_tick(action);
   
        if (!(action->flags & IRQF_DISABLED))
                local_irq_enable_in_hardirq();


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

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