Re: [RFC] 4KB stack + irq stack for x86

Benjamin LaHaise (bcrl@redhat.com)
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. The whole thing that led me down
this line is seeing it happen in real life. What remains to be done
is to write an automated stack depth checker based on possible call
chains that will calculate the maximum possible stack depth. I've
already got scripts for dumping the top stack users, it's a matter
of writing code that can show us the possible call chains.

-ben
-
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/