Re: [RFC] 4KB stack + irq stack for x86
Larry McVoy (lm@bitmover.com)
Wed, 5 Jun 2002 17:24:49 -0700
On Wed, Jun 05, 2002 at 04:13:42PM -0700, David S. Miller wrote:
> From: Benjamin LaHaise <bcrl@redhat.com>
> Date: Wed, 5 Jun 2002 18:31:52 -0400
>
> On Wed, Jun 05, 2002 at 05:15:23PM -0500, Steve Lord wrote:
> > Just what are the tasks you normally run - and how many code
> > paths do you think there are out there which you do not run. XFS
> > might get a bit stack hungry in places, we try to keep it down,
> > but when you get into file system land things can stack up quickly:
>
> You already lose in that case today, as multiple irqs may come in
> from devices and eat up the stack.
>
> I agree with Ben, if things explode due to stack overflow with his
> changes they are almost certain to explode before his changes.
Just a "me too". I like Ben's patch, it seems like it is a sort of
"bloat meter", if you overflow the stack that suggests something is
wrong, and it isn't stack size.
--
---
Larry McVoy lm at bitmover.com http://www.bitmover.com/lm
-
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/