• Jose R. Santos's avatar
    [PATCH] Make i/dhash_entries cmdline work as it use to. · 38612ed3
    Jose R. Santos authored
    I was looking at the recent for >MAX_ORDER hash tables but it seems that
    the patch limits the number of entries to what it thinks are good values
    and the i/dhash_entries cmdline options can not exceed this.
    
    This seems to limit the usability of the patch on systems were larger
    allocations that the ones the kernel calculates are desired.
    
    - Make ihash_entries and dhash_entries cmdline option behave like it use to.
    
    - Remove MAX_SYS_HASH_TABLE_ORDER.  Limit the max size to 1/16 the total
      number of pages.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    38612ed3
mmzone.h 13.6 KB