linux_old1/arch/sh64/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
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
alphanum.c fix file specification in comments 2006-10-03 23:01:26 +02:00
asm-offsets.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma.c [PATCH] irq-flags: SH64: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
early_printk.c Fixes and cleanups for earlyprintk aka boot console 2007-05-08 11:15:04 -07:00
entry.S sh64: ppoll/pselect6() and restartable syscalls. 2007-05-14 09:12:39 +09:00
fpu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
irq.c sh64: Fixups for the irq_regs changes. 2007-05-14 09:10:01 +09:00
irq_intc.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
led.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
module.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci-dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci_sh5.c potential parse error in ifdef part 3 2007-06-08 17:23:33 -07:00
pci_sh5.h spelling fixes: arch/sh64/ 2007-05-14 08:25:48 +09:00
pcibios.c [PATCH] 64bit resource: change pci core and arch code to use resource_size_t 2006-06-27 09:24:00 -07:00
process.c spelling fixes: arch/sh64/ 2007-05-14 08:25:48 +09:00
ptrace.c PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c [PATCH] Dynamic kernel command-line: sh64 2007-02-12 09:48:39 -08:00
sh_ksyms.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
signal.c sh64: Handle -ERESTART_RESTARTBLOCK for restartable syscalls. 2007-06-19 12:41:32 +09:00
switchto.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys_sh64.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
syscalls.S sh64: Wire up many new syscalls. 2007-05-14 09:07:27 +09:00
time.c sh64: Fixups for the irq_regs changes. 2007-05-14 09:10:01 +09:00
traps.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
unwind.c Simplify kallsyms_lookup() 2007-05-08 11:15:08 -07:00
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00