diff options
author | Anton Blanchard <anton@samba.org> | 2009-02-13 11:57:30 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-22 23:48:58 (GMT) |
commit | 13870b657578bcce167978ee93dc02bf54e3beb0 (patch) | |
tree | c7c5ece57c707eacf465af5b954c7b4234b71d96 /arch/powerpc/platforms/cell/spu_fault.c | |
parent | 33f00dcedb0e22cdb156a23632814fc580fcfcf8 (diff) | |
download | linux-fsl-qoriq-13870b657578bcce167978ee93dc02bf54e3beb0.tar.xz |
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>
Diffstat (limited to 'arch/powerpc/platforms/cell/spu_fault.c')
0 files changed, 0 insertions, 0 deletions