diff options
author | Andi Kleen <andi@firstfloor.org> | 2008-05-05 12:36:38 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-12 21:28:06 +0200 |
commit | 04b361abfdc522239e3a071f3afdebf5787d9f03 (patch) | |
tree | a98dbb398220ded0fa2bbc2a147d0edec7ec19f3 /include/asm-sparc64/openpromio.h | |
parent | ce17833183bf0a08ce3d174a2088eff0a06f2080 (diff) |
i386: Execute stack overflow warning on interrupt stack v2
Previously the reporting printk would run on the process stack, which risks
overflow an already low stack. Instead execute it on the interrupt stack.
This makes it more likely for the printk to make it actually out.
It adds one not taken test/branch more to the interrupt path when
stack overflow checking is enabled. We could avoid that by duplicating
more code, but that seemed not worth it.
Based on an observation by Eric Sandeen.
v2: Fix warnings in some configs
Signed-off-by: Andi Kleen <andi@firstfloor.org>
Cc: mingo@elte.hu
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-sparc64/openpromio.h')
0 files changed, 0 insertions, 0 deletions