Re: fsstress causes memory leak in test6, test8

From: Dave Jones
Date: Mon Oct 27 2003 - 07:16:57 EST


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
were scratching their heads, and we even put it down to flaky hardware
or maybe even a CPU bug back then.

> 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

--
Dave Jones http://www.codemonkey.org.uk
-
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/