linux-stable-rt/arch/sparc64/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 [SPARC64]: Fix build regressions added by dr-cpu changes. 2007-07-16 04:04:49 -07:00
asm-offsets.c
audit.c
auxio.c
binfmt_aout32.c
binfmt_elf32.c
central.c
chmc.c
compat_audit.c
cpu.c
ds.c [SPARC64]: Handle LDC resets properly in domain-services driver. 2007-07-18 01:20:09 -07:00
dtlb_miss.S
dtlb_prot.S
ebus.c
entry.S
etrap.S
head.S
hvapi.c
hvtramp.S [SPARC64]: Kill explicit %gl register reference. 2007-07-17 12:18:15 -07:00
idprom.c
init_task.c
iommu_common.c
iommu_common.h
irq.c [SPARC64]: dr-cpu unconfigure support. 2007-07-16 04:05:32 -07:00
isa.c
itlb_miss.S
kprobes.c
ktlb.S
ldc.c [SPARC64]: Abstract out mdesc accesses for better MD update handling. 2007-07-16 04:04:28 -07:00
mdesc.c [SPARC64]: Add basic infrastructure for MD add/remove notification. 2007-07-18 01:19:51 -07:00
module.c
of_device.c
pci.c PCI: read revision ID by default 2007-07-11 16:02:09 -07:00
pci_common.c
pci_fire.c
pci_impl.h
pci_iommu.c
pci_psycho.c
pci_sabre.c
pci_schizo.c
pci_sun4v.c
pci_sun4v.h
pci_sun4v_asm.S
power.c [SPARC64]: Export powerd facilities for external entities. 2007-07-16 04:04:16 -07:00
process.c [SPARC64]: dr-cpu unconfigure support. 2007-07-16 04:05:32 -07:00
prom.c [SPARC64]: Initial LDOM cpu hotplug support. 2007-07-16 04:04:40 -07:00
ptrace.c
rtrap.S
sbus.c
semaphore.c
setup.c [SPARC64]: SMP build fix. 2007-07-16 17:11:58 -07:00
signal.c [SPARC64]: Kill bogus set_fs(KERNEL_DS) in do_rt_sigreturn(). 2007-07-17 14:37:54 -07:00
signal32.c
smp.c [SPARC64]: dr-cpu unconfigure support. 2007-07-16 04:05:32 -07:00
sparc64_ksyms.c [SPARC64]: More sensible udelay implementation. 2007-07-16 04:05:02 -07:00
sstate.c
stacktrace.c
starfire.c
sun4v_ivec.S
sun4v_tlb_miss.S
sunos_ioctl32.c
sys32.S
sys_sparc.c
sys_sparc32.c
sys_sunos32.c
sysfs.c [SPARC64]: More sensible udelay implementation. 2007-07-16 04:05:02 -07:00
systbls.S
time.c [SPARC64]: More sensible udelay implementation. 2007-07-16 04:05:02 -07:00
trampoline.S
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
tsb.S
ttable.S
una_asm.S
unaligned.c
us2e_cpufreq.c
us3_cpufreq.c
vio.c [SPARC64]: Massively simplify VIO device layer and support hot add/remove. 2007-07-18 01:20:04 -07:00
viohs.c [SPARC64]: Set vio->desc_buf to NULL after freeing. 2007-07-18 01:20:26 -07:00
visemul.c
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
winfixup.S