Re: fsstress causes memory leak in test6, test8

From: Nikita Danilov
Date: Mon Oct 27 2003 - 07:48:16 EST


Dave Jones writes:
> On Sun, Oct 26, 2003 at 05:02:41PM -0800, Andrew Morton wrote:
>
> > It is not a "leak" as such - the dentries will get shrunk in normal usage
> > (create enough non-dir dentries and the "leaked" directory dentries will
> > get reclaimed). The really deep directories which fsstress creates
> > demonstrated the bug.
>
> This could explain the random reiserfs oopses/hangs I was seeing several
> months back after running fsstress for a day or so. The reiser folks

This could explain hangs, but hardly oopses. System just freezes due to
out-of-memory.

> were scratching their heads, and we even put it down to flaky hardware
> or maybe even a CPU bug back then.

Of course we did, there are no bugs in reiserfs, you know. :)

>
> > Given that it took a year for anyone to notice, it's probably best that
> > this not be included for 2.6.0.
>
> I agree in a "lets get 2.6 out the door" sense, but once thats 'out
> there' a user-level DoS should be fixed up pretty quickly.
> The paranoid could always run 2.6-mm I guess 8-)
>
> Dave
>

Nikita.

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