Re: [PATCH] (3/3) stack overflow checking for x86

Dave Jones (davej@codemonkey.org.uk)
Fri, 1 Nov 2002 13:42:38 +0000


On Fri, Nov 01, 2002 at 12:59:06PM +0000, Alan Cox wrote:
> On Thu, 2002-10-31 at 21:30, Dave Jones wrote:
> > > This won't apply cleanly without the irqstack patch, but the conflict is
> > > easy to resolve. It requires the thread_info cleanup.
> >
> > I'm wondering about interaction between this patch and the
> > already merged CONFIG_DEBUG_STACKOVERFLOW ?
>
> It replaces it and actually makes it useful since IRQ usage is now
> bounded and defined relative to non IRQ usage. Without IRQ stacks you
> don't have a hope in hell of catching overflows that depend on an irq
> occuring at the right moment

Yeah, I figured it worked better, but wondered why the patch didn't
remove the existing implementation.

Dave

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