From: Tejun Heo Date: Tue, 25 Jan 2011 13:26:50 +0000 (+0100) Subject: percpu: align percpu readmostly subsection to cacheline X-Git-Tag: v2.6.39-rc1~491^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19df0c2fef010e94e90df514aaf4e73f6b80145c;p=pandora-kernel.git percpu: align percpu readmostly subsection to cacheline Currently percpu readmostly subsection may share cachelines with other percpu subsections which may result in unnecessary cacheline bounce and performance degradation. This patch adds @cacheline parameter to PERCPU() and PERCPU_VADDR() linker macros, makes each arch linker scripts specify its cacheline size and use it to align percpu subsections. This is based on Shaohua's x86 only patch. Signed-off-by: Tejun Heo Cc: Shaohua Li --- Reading git-diff-tree failed