diff options
author | Anton Blanchard <anton@samba.org> | 2009-02-13 06:57:30 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-22 18:48:58 -0500 |
commit | 13870b657578bcce167978ee93dc02bf54e3beb0 (patch) | |
tree | c7c5ece57c707eacf465af5b954c7b4234b71d96 /net/lapb | |
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>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions