kernel_optimize_test/arch
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
..
alpha percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
arm percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
avr32 kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
blackfin percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
cris percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
frv percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
h8300 h8300: Use generic irq Kconfig 2011-01-21 11:55:24 +01:00
ia64 percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
m32r percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
m68k Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu 2011-01-18 08:05:20 -08:00
m68knommu m68knommu: Use generic irq Kconfig 2011-01-21 11:55:32 +01:00
microblaze microblaze: Use generic irq Kconfig 2011-01-21 11:55:32 +01:00
mips percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
mn10300 percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
parisc percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
powerpc percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
s390 percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
score score: Use generic irq Kconfig 2011-01-21 11:55:34 +01:00
sh percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
sparc percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
tile percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
um percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
x86 percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
xtensa percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00
.gitignore
Kconfig