[PATCH] Automatic file-max sizing
authorAndi Kleen <ak@muc.de>
Wed, 6 Feb 2002 14:13:41 +0000 (06:13 -0800)
committerLinus Torvalds <torvalds@athlon.transmeta.com>
Wed, 6 Feb 2002 14:13:41 +0000 (06:13 -0800)
commitd8fbaf736c183a121f7edb1041ca0f0530a762a7
treee1ba0f7755e2fad9dea5858d0c551f7552aa2084
parent0c16b44158308c35242fdb4b105f162629e91c1a
[PATCH] Automatic file-max sizing

The default for NR_FILES of 8192 is far too low for many workloads. This
patch does dynamic sizing for it instead. It assumes file+inode+dentry
are roughly 1K and will use upto 10% of the memory for it.

Also removes two obsolete prototypes.
fs/dcache.c
fs/file_table.c
include/linux/fs.h