Re: inode_cache / dentry_cache not being reclaimed aggressivelyenough on low-memory PCs

From: Alex Buell
Date: Sat Jan 03 2004 - 19:17:36 EST


On Sat, 3 Jan 2004, Andrew Morton wrote:

> John Lash <jlash@xxxxxxxxxxxxx> wrote:
> >
> > As it stands, it will maintain as many unused entries as there are used entries.
> > If this low memory system las a large, stable, number of inuse dentry objects,
> > the unused entries will match it thereby holding double the memory and possibly
> > causing the problem you see.
>
> Yup. There is a fix in 2.6.1-rc1 for this.

Which change would that be? It would be nice to back-port that to 2.4.x if
that's possible?

--
http://www.munted.org.uk

Your mother cooks socks in hell
-
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/