kernel_optimize_test/arch/m32r/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.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
asm-offsets.c
entry.S [PATCH] m32r: fix ace_handler to pass full 32-bit address 2006-12-08 08:28:37 -08:00
head.S [PATCH] m32r: cosmetic updates and trivial fixes 2007-02-11 10:51:20 -08:00
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
io_m32104ut.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_m32700ut.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_mappi2.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_mappi3.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_mappi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_oaks32r.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
io_opsput.c [PATCH] m32r: bootloader support for OPSPUT platform 2006-12-08 08:28:37 -08:00
io_usrv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
irq.c [PATCH] m32r pt_regs fixes 2006-10-07 10:51:15 -07:00
m32r_ksyms.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
Makefile [PATCH] m32r: Support M32104UT target platform 2006-01-06 08:33:43 -08:00
module.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
process.c [PATCH] m32r: build fix for processors without ISA_DSP_LEVEL2 2007-02-11 10:51:20 -08:00
ptrace.c PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
semaphore.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_m32104ut.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_m32700ut.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_mappi2.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_mappi3.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_mappi.c [PATCH] m32r: NULL noise removal 2006-10-11 11:17:06 -07:00
setup_oaks32r.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup_opsput.c [PATCH] m32r: bootloader support for OPSPUT platform 2006-12-08 08:28:37 -08:00
setup_usrv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
setup.c [PATCH] Dynamic kernel command-line: m32r 2007-02-12 09:48:38 -08:00
signal.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
smp.c [PATCH] m32r: NULL noise removal 2006-10-11 11:17:06 -07:00
smpboot.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sys_m32r.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
time.c [PATCH] Consolidate default sched_clock() 2007-02-11 10:51:28 -08:00
traps.c [PATCH] m32r: NULL noise removal 2006-10-11 11:17:06 -07:00
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00