]> git.hungrycats.org Git - linux/commit
[PATCH] Make i/dhash_entries cmdline work as it use to.
authorJose R. Santos <jrsantos@austin.ibm.com>
Mon, 23 Aug 2004 05:46:07 +0000 (22:46 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 05:46:07 +0000 (22:46 -0700)
commit38612ed31d3c81039e605f3510710a9db746218c
tree4fa8874b0fccaee0803b7d7a9589b5e5e76b11a4
parent350f76f1b10125d9225d98b8fae02a4910d02976
[PATCH] Make i/dhash_entries cmdline work as it use to.

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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mmzone.h
mm/page_alloc.c