lkml.org 
[lkml]   [2000]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans