kernel-fxtec-pro1x/arch/sh/kernel
Fenghua Yu 5fb7dc37dc define new percpu interface for shared data
per cpu data section contains two types of data.  One set which is
exclusively accessed by the local cpu and the other set which is per cpu,
but also shared by remote cpus.  In the current kernel, these two sets are
not clearely separated out.  This can potentially cause the same data
cacheline shared between the two sets of data, which will result in
unnecessary bouncing of the cacheline between cpus.

One way to fix the problem is to cacheline align the remotely accessed per
cpu data, both at the beginning and at the end.  Because of the padding at
both ends, this will likely cause some memory wastage and also the
interface to achieve this is not clean.

This patch:

Moves the remotely accessed per cpu data (which is currently marked
as ____cacheline_aligned_in_smp) into a different section, where all the data
elements are cacheline aligned. And as such, this differentiates the local
only data and remotely accessed data cleanly.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: <linux-arch@vger.kernel.org>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 10:04:44 -07:00
..
cpu sh: sh-rtc support for SH7709. 2007-07-16 09:51:39 +09:00
timers sh: Preliminary support for the SH-X3 CPU. 2007-06-20 18:27:10 +09:00
vsyscall sh: Fix vsyscall build failure. 2007-05-31 13:44:55 +09:00
asm-offsets.c
cf-enabler.c sh: Rip out special unknown machvec. 2007-06-08 02:43:40 +00:00
cpufreq.c
crash_dump.c sh: kdump support. 2007-05-07 02:11:56 +00:00
debugtraps.S
early_printk.c Fixes and cleanups for earlyprintk aka boot console 2007-05-08 11:15:04 -07:00
entry-common.S
head.S
init_task.c
io.c
io_generic.c
irq.c sh: Update the alignment when 4K stacks are used. 2007-07-12 10:41:52 +09:00
kgdb_jmp.S
kgdb_stub.c spelling fixes: arch/sh/ 2007-05-21 14:31:39 +09:00
machine_kexec.c sh: kdump support. 2007-05-07 02:11:56 +00:00
machvec.c sh: Rip out special unknown machvec. 2007-06-08 02:43:40 +00:00
Makefile sh: Fixup machvec support. 2007-06-08 02:43:37 +00:00
module.c
pm.c
process.c sh: Tidy up dependencies for SH-2 build. 2007-06-11 15:32:07 +09:00
ptrace.c PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
relocate_kernel.S
semaphore.c
setup.c sh: Preliminary support for the SH-X3 CPU. 2007-06-20 18:27:10 +09:00
sh_bios.c
sh_ksyms.c sh: Export div symbols for GCC 4.2 and ST GCC. 2007-07-13 09:30:31 +09:00
signal.c Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6 2007-07-16 10:32:02 -07:00
smp.c sh: trivial build cleanups. 2007-05-31 13:46:21 +09:00
stacktrace.c sh: Fix stacktrace simplification fallout. 2007-05-09 18:55:14 +09:00
sys_sh.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
syscalls.S sh: Wire up mempolicy syscalls. 2007-06-08 02:43:47 +00:00
time.c sh: clockevent/clocksource/hrtimers/nohz TMU support. 2007-05-09 17:33:24 +09:00
topology.c sh: Fix up cpu to node mapping in sysfs. 2007-06-08 02:43:50 +00:00
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00