lkml.org 
[lkml]   [2002]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] 4KB stack + irq stack for x86
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.635 / U:0.016 seconds]
©2003-2011 Jasper Spaans. Advertise on this site