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-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:21 -07:00
2008-10-22 22:55:19 -07:00
2009-09-22 07:17:45 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2009-04-01 08:59:17 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2009-04-01 08:59:17 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2009-09-09 13:29:18 -07:00
2009-04-01 08:59:17 -07:00
2010-10-26 16:52:08 -07:00
2010-11-12 07:55:30 -08:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2010-10-26 16:52:05 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00
2008-10-22 22:55:19 -07:00