Re: [PATCH 2.3.48] initrd fix (Mike Galbraith)

From: David S. Miller (davem@redhat.com)
Date: Sun Feb 27 2000 - 19:51:52 EST


   Date: Sun, 27 Feb 2000 19:18:54 -0500
   From: Jeff Garzik <jgarzik@mandrakesoft.com>

   Run 'nm vmlinux' with the sort-by-size argument. Guess what the
   biggest objects in the entire kernel are? The dentry and inode
   hash table base arrays...

   Unless there is hidden stuff, a nice fix for this would be to make
   their allocation dynamic at the beginning of fs_init() or somesuch.

Yes, and they should be dynamically sized too.

The dentry hash table is done dynamically in 2.2.x already, so
you can just backport that. The inode hash table should be
trivial to do.

Later,
David S. Miller
davem@redhat.com

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



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:18 EST