Messages in this thread | | | Date | Sun, 27 Feb 2000 16:51:52 -0800 | From | "David S. Miller" <> | Subject | Re: [PATCH 2.3.48] initrd fix (Mike Galbraith) |
| |
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/
| |