From: Anton Blanchard Date: Fri, 13 Feb 2009 11:57:30 +0000 (+0000) Subject: powerpc/mm: Reduce hashtable size when using 64kB pages X-Git-Tag: v2.6.30-rc1~619^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13870b657578bcce167978ee93dc02bf54e3beb0;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed