]> git.neil.brown.name Git - history.git/commit
[PATCH] shrink VFS hash sizes on small machines
authorAndrew Morton <akpm@osdl.org>
Tue, 13 Apr 2004 02:22:37 +0000 (19:22 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 13 Apr 2004 02:22:37 +0000 (19:22 -0700)
commitb52b3a2b853bad27052de3357c198ec59dbe8674
treec0a43f7ff6234c25270d1dc50366bfa48ff2cddd
parenta16129b8509728ae92ce205114ab453509e200f0
[PATCH] shrink VFS hash sizes on small machines

From: Matt Mackall <mpm@selenic.com>

Base hash sizes on available memory rather than total memory.  An
additional 50% above current used memory is considered reserved for the
purposes of hash sizing to compensate for the hashes themselves and the
remainder of kernel and userspace initialization.
fs/dcache.c