Re: [showstopper] Memory leak in 2.2.1

Alexander Viro (viro@math.psu.edu)
Wed, 3 Feb 1999 14:14:40 -0500 (EST)


On Wed, 3 Feb 1999, Oleg Drokin wrote:

> Seems that inode cache that grows in inode.c:419 is never shrinked.

What??? Wait... it's grow_inodes() and it looks like we never shrink the
damned icache again. Looks like it was always so with possible exception
of 2.1.36-2.1.42 when we used slab instead of bare pages. Damn. It's not a
leak per se - we just never shrink icache. Now, the fact that you managed
to grow it that large may mean that there is an inode leak, but that's
another story. What is the number of dirty inodes, BTW? They can't be
reused until they are cleaned.

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