kernel-fxtec-pro1x/arch/sparc/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
..
apc.c [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
asm-offsets.c rename thread_info to stack 2007-05-09 12:30:56 -07:00
auxio.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
cpu.c
devices.c
ebus.c [SPARC]: device_node name constification fallout 2007-04-26 01:55:45 -07:00
entry.S
errtbls.c
etrap.S
head.S [SPARC32]: Fix sparc32 kdebug changes. 2007-05-14 03:22:08 -07:00
idprom.c
init_task.c
ioport.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
irq.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
led.c
Makefile
module.c
muldiv.c
of_device.c [SPARC]: constify of_get_property return: arch/sparc 2007-04-26 01:54:22 -07:00
pcic.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
pmc.c
process.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
prom.c [SPARC]: Use strcasecmp for OFW property name comparisons. 2007-04-26 01:54:41 -07:00
ptrace.c
rtrap.S
sclow.S
semaphore.c
setup.c move die notifier handling to common code 2007-05-08 11:15:04 -07:00
signal.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
smp.c sched: zap the migration init / cache-hot balancing code 2007-07-09 18:51:57 +02:00
sparc-stub.c
sparc_ksyms.c [SPARC]: Re-export saved_command_line to modules. 2007-02-12 15:15:48 -08:00
sun4c_irq.c
sun4d_irq.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
sun4d_smp.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sun4m_irq.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
sun4m_smp.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sun4setup.c
sunos_asm.S
sunos_ioctl.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sys_solaris.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sys_sparc.c
sys_sunos.c [SPARC]: avoid CHILD_MAX and OPEN_MAX constants 2007-04-12 13:13:42 -07:00
systbls.S [SPARC]: Wire up signalfd/timerfd/eventfd syscalls. 2007-05-11 22:06:51 -07:00
tadpole.c
tick14.c
time.c [SPARC32]: Removes mismatch section warnigs in sparc time.c file 2007-05-29 02:49:16 -07:00
trampoline.S
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
unaligned.c
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
windows.c
wof.S
wuf.S