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
..
2008-03-15 19:12:19 -07:00
2009-01-05 19:18:27 +00:00
2005-04-16 15:20:36 -07:00
2010-11-16 12:50:18 -08:00
2010-10-16 22:43:08 +02:00
2008-10-10 16:32:28 +00:00
2009-07-03 03:34:06 +00:00
2005-04-16 15:20:36 -07:00
2010-10-13 20:35:56 -04:00
2010-05-30 05:46:37 -04:00
2009-08-28 19:37:20 -10:00