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
..
2010-05-18 14:45:53 -07:00
2010-02-08 10:42:17 -08:00
2010-08-13 20:55:51 -07:00
2010-03-03 11:25:59 +01:00
2009-10-29 22:34:15 +09:00
2010-12-28 14:19:20 -08:00
2010-09-23 13:52:07 -07:00
2008-02-04 15:42:06 -08:00
2008-02-04 15:42:06 -08:00
2009-06-17 09:33:49 -07:00
2008-04-08 13:51:35 -07:00
2009-03-27 11:11:04 -07:00
2009-03-27 11:11:04 -07:00
2006-12-07 10:48:19 -08:00
2007-05-08 14:51:59 -07:00
2010-02-08 10:42:17 -08:00
2010-05-18 14:45:53 -07:00
2010-02-08 10:42:17 -08:00
2010-05-18 14:45:54 -07:00