Check for stack overflows

configname: CONFIG_DEBUG_STACKOVERFLOW

Linux Kernel Configuration
└─>Kernel hacking
└─>Memory Debugging
└─>Check for stack overflows
In linux kernel since version 2.6.12  
Say Y here if you want to check for overflows of kernel, IRQ
and exception stacks (if your architecture uses them). This
option will show detailed messages if free stack space drops
below a certain limit.

These kinds of bugs usually occur when call-chains in the
kernel get too deep, especially when interrupts are
involved.

Use this in cases where you see apparently random memory
corruption, especially if it appears in 'struct thread_info'

If in doubt, say "N".