kernel-ark/arch/xtensa/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
..
align.S [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
asm-offsets.c [XTENSA] Remove non-rt signal handling 2007-05-31 17:49:32 -07:00
coprocessor.S [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
entry.S [XTENSA] Remove non-rt signal handling 2007-05-31 17:49:32 -07:00
head.S [XTENSA] Move common sections into bss sections 2007-05-31 17:48:07 -07:00
irq.c [PATCH] xtensa: fix irq and misc fixes 2006-12-10 09:55:39 -08:00
Makefile [PATCH] Xtensa: Add ktermios and minor filename fix 2006-12-13 09:05:50 -08:00
module.c fix file specification in comments 2006-10-03 23:01:26 +02:00
pci-dma.c fix file specification in comments 2007-05-09 08:58:16 +02:00
pci.c [XTENSA] Spelling fixes in arch/xtensa 2007-05-31 17:43:40 -07:00
platform.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
process.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
ptrace.c PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
semaphore.c
setup.c [XTENSA] clean-up header files 2007-05-31 17:47:01 -07:00
signal.c [XTENSA] Remove non-rt signal handling 2007-05-31 17:49:32 -07:00
syscall.c [PATCH] Xtensa: Add ktermios and minor filename fix 2006-12-13 09:05:50 -08:00
time.c [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
vectors.S [PATCH] xtensa: remove extra header files 2006-12-10 09:55:39 -08:00
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
xtensa_ksyms.c [XTENSA] Remove multi-exported symbols from xtensa_ksyms.c 2007-05-31 17:45:23 -07:00