Re: question about do_IRQ + 4k stacks

From: Terence Ripperda
Date: Fri Apr 01 2005 - 14:14:10 EST


On Wed, Mar 30, 2005 at 09:14:22PM -0500, bgerst@xxxxxxxxxxxxx wrote:
> It checks for both process context (system call or kernel thread) or
> interrupt context (nested irqs) stack overflows.

ok, thanks.

so we really only have 3k stacks rather than 4k stacks, right? if any
code exceeds 3k stacks and is preempted by an interrupt, we can
trigger this check and hang the system as a result (I notice that at
least RHEL 4's kernels enable this check by default, not sure about
other kernels).

Thanks,
Terence


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/