mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 02:06:15 +01:00
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> |
||
|---|---|---|
| .. | ||
| asm-offsets.c | ||
| crisksyms.c | ||
| irq.c | ||
| Makefile | ||
| module.c | ||
| process.c | ||
| profile.c | ||
| ptrace.c | ||
| setup.c | ||
| sys_cris.c | ||
| time.c | ||
| traps.c | ||
| vmlinux.lds.S | ||