From: Anton Blanchard Date: Tue, 12 Jan 2010 00:50:14 +0000 (+0000) Subject: powerpc: Mark some variables in the page fault path __read_mostly X-Git-Tag: v2.6.34-rc1~271^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5be3492f972b73051ead7ecbac6fb9efd1e8e0ec;p=pandora-kernel.git powerpc: Mark some variables in the page fault path __read_mostly Using perf to trace L1 dcache misses and dumping data addresses I found a few variables taking a lot of misses. Since they are almost never written, they should go into the __read_mostly section. Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed