Re: I think I have a memory leak in 2.3.x

Steve Dodd (dirk@loth.demon.co.uk)
Mon, 28 Jun 1999 17:51:39 +0100


On Mon, Jun 28, 1999 at 03:15:42PM +0100, Stephen C. Tweedie wrote:

> > since i don't have the history that you and others here might have, can
> > you tell me why the inode cache is implemented so that it uses raw pages
> > and never shrinks? is it simply older than the slab cache
> > implementation?
>
> The original inode cache is ancient. The slab only arrived in 2.1. The
> inode.c was pretty much rewritten in 2.1 too, but the underlying data
> structures predate slab by a long, long way.

I was under the impression that the slab allocator was used for inodes around
2.1.4x, but Linus switched back for reasons which seemed good when I heard
them, but which I no longer remember :)

-- 
Your fault: core dumped

- 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/