lkml.org 
[lkml]   [2004]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [STACK] >3k call path in reiserfs
From
Date
On Wed, 2004-06-09 at 13:06, Hans Reiser wrote:

> >No such luck, the real offender is having tree balance structs on the
> >stack. We need to switch to kmalloc for those, which will be mean some
> >extra work to make sure we don't schedule at the wrong time.
> >
> >In other words, not the trivial patch I was hoping for, but I'm cooking
> >one up.

> >
> Can you give me some background on whether this is causing real problems
> for real users?

Especially with the 4k stack option enabled, it will cause real problems
for real users. A better change would be to cut down on the size of the
tree balance struct, but that would be more invasive. For starters we
might be able to switch from ints to shorts for some of the arrays.

-chris


-
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 14:03    [from the cache]
©2003-2011 Jasper Spaans