diff options
author | Tejun Heo <tj@kernel.org> | 2011-01-25 14:26:50 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-01-25 14:26:50 +0100 |
commit | 19df0c2fef010e94e90df514aaf4e73f6b80145c (patch) | |
tree | 4b0b9c10622aead0d8b658cca6c49090149a91a8 /arch/s390/appldata | |
parent | c723fdab8aa728dc2bf0da6a0de8bb9c3f588d84 (diff) | |
download | kernel_samsung_tuna-19df0c2fef010e94e90df514aaf4e73f6b80145c.zip kernel_samsung_tuna-19df0c2fef010e94e90df514aaf4e73f6b80145c.tar.gz kernel_samsung_tuna-19df0c2fef010e94e90df514aaf4e73f6b80145c.tar.bz2 |
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>
Diffstat (limited to 'arch/s390/appldata')
0 files changed, 0 insertions, 0 deletions