commit | 13870b657578bcce167978ee93dc02bf54e3beb0 | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Fri Feb 13 11:57:30 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Feb 23 10:48:58 2009 +1100 |
tree | c7c5ece57c707eacf465af5b954c7b4234b71d96 | |
parent | 33f00dcedb0e22cdb156a23632814fc580fcfcf8 [diff] |
powerpc/mm: Reduce hashtable size when using 64kB pages At the moment we size the hashtable based on 4kB pages / 2, even on a 64kB kernel. This results in a hashtable that is much larger than it needs to be. Grab the real page size and size the hashtable based on that Note: This only has effect on non hypervisor machines. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>