• Andi Kleen's avatar
    [PATCH] Automatic file-max sizing · d8fbaf73
    Andi Kleen authored
    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.
    d8fbaf73
dcache.c 31.6 KB