Tejun Heo 19df0c2fef 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 <tj@kernel.org>
Cc: Shaohua Li <shaohua.li@intel.com>
2011-01-25 14:26:50 +01:00
..
2011-01-13 08:03:07 -08:00
2011-01-13 17:32:40 -08:00
2007-10-16 09:43:05 -07:00
2009-04-01 08:59:17 -07:00
2009-12-16 07:20:12 -08:00
2011-01-21 11:55:35 +01:00
2009-04-21 13:41:50 -07:00
2011-01-21 11:55:31 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-29 08:46:26 -07:00