x86: Always use irq stacks
authorChristoph Hellwig <hch@lst.de>
Mon, 28 Jun 2010 12:15:54 +0000 (14:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Jun 2010 10:12:59 +0000 (12:12 +0200)
commit7974891db234467eaf1fec613ec0129cb4ac2332
tree09de403e54e39f4f25a1c15a29f5b201d4c11729
parent5904b3b81d25166e5e39b9727645bb47937618e3
x86: Always use irq stacks

IRQ stacks provide much better safety against unexpected stack use from
interrupts, at the minimal downside of slightly higher memory usage.
Enable irq stacks also for the default 8k stack on 32-bit kernels to
minimize the problem of stack overflows through interrupt activity.

This is what the 64-bit kernel and various other architectures already do.

Signed-off-by: Christoph Hellwig <hch@lst.de>
LKML-Reference: <20100628121554.GA6605@lst.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/x86/x86_64/kernel-stacks
arch/x86/Kconfig.debug
arch/x86/include/asm/irq.h
arch/x86/kernel/irq_32.c