login
Header Space

 
 

Re: [PATCH] i386: Execute stack overflow warning on interrupt stack II

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Thomas Gleixner <tglx@...>
Cc: <linux-kernel@...>, <mingo@...>, <sandeen@...>
Date: Monday, May 5, 2008 - 6:17 am

Thomas Gleixner wrote:

Just moving code. If there is one added it should be in another patch.
Besides if anything it's a KERN_WARN I guess.


Hmm, strange. I don't see that here


  CC      arch/x86/kernel/irq_32.o
  CC      arch/x86/kernel/time_32.o

gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)

What compiler are you using? Or did you change anything? (I know you
like to do that)



The comment refers to that the check here doesn't check the process
stack, but the interrupt stack. In fact if the interrupt stack is near
overflow we should probably just reject the interrupt? Although that
might cause hangs too. Or perhaps just enlarge it [that is now possible
with i386 pda with some effort]. Anyways it is probably not an
interesting case because nested interrupts are rare.


Doesn't matter really. The whole branch is unlikely.

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

Messages in current thread:
Re: [PATCH] i386: Execute stack overflow warning on interrup..., Andi Kleen, (Mon May 5, 6:17 am)
speck-geostationary