Re: negative dentry_stat.nr_unused causes aggressive dcache pruning

From: Greg Banks
Date: Wed Dec 08 2004 - 18:02:29 EST


On Wed, Dec 08, 2004 at 04:16:52PM -0600, Steve Lord wrote:
>
> I have seen this stat go negative (just from booting up a multi cpu box),
> and looking at the code, it is manipulated without locking in a number
> of places. I have only seen this in real life on a 2.4 kernel, but 2.6
> also looks vulnerable.

On early 2.6.x, a heavy streaming NFS load was a great way to trigger
this. I haven't seen it happen since

http://linus.bkbits.net:8080/linux-2.5/cset@40b8cf606MV-gl6VpDyWKzzW1jaIJw

Greg.
--
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.
-
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/