linux-stable-rt/arch/mips/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
..
8250-platform.c
Makefile [MIPS] Rename PC speaker code 2007-07-12 17:41:23 +01:00
asm-offsets.c
binfmt_elfn32.c
binfmt_elfo32.c
branch.c [MIPS] Add some __user tags 2007-07-13 17:40:01 +01:00
cpu-bugs64.c
cpu-probe.c [MIPS] PMC MSP71xx mips common 2007-07-10 17:33:03 +01:00
early_printk.c
entry.S [MIPS] SMTC: Interrupt mask backstop hack 2007-07-12 17:41:17 +01:00
gdb-low.S
gdb-stub.c
genex.S [MIPS] SMTC: Interrupt mask backstop hack 2007-07-12 17:41:17 +01:00
head.S [MIPS] PMC MSP71xx mips common 2007-07-10 17:33:03 +01:00
i8259.c
init_task.c
irix5sys.S
irixelf.c
irixinv.c
irixioctl.c
irixsig.c
irq-msc01.c
irq-rm7000.c
irq-rm9000.c
irq.c
irq_cpu.c
kspd.c
linux32.c
machine_kexec.c
mips-mt-fpaff.c [MIPS] Move FPU affinity code into separate file. 2007-07-10 17:33:04 +01:00
mips-mt.c [MIPS] Move FPU affinity code into separate file. 2007-07-10 17:33:04 +01:00
mips_ksyms.c
module.c
pcspeaker.c [MIPS] Rename PC speaker code 2007-07-12 17:41:23 +01:00
proc.c [MIPS] define Hit_Invalidate_I to Index_Invalidate_I for loongson2 2007-07-10 17:33:02 +01:00
process.c
ptrace.c PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
ptrace32.c
r4k_fpu.S
r4k_switch.S [MIPS] Fix resume for 64K page size on R4000 class processors. 2007-07-12 17:41:05 +01:00
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
relocate_kernel.S
reset.c
rtlx.c
scall32-o32.S
scall64-64.S
scall64-n32.S
scall64-o32.S
semaphore.c
setup.c [MIPS] Add some debugfs files to debug unaligned accesses 2007-07-10 17:33:04 +01:00
signal-common.h
signal.c
signal32.c
signal_n32.c
smp-mt.c
smp.c
smtc-asm.S
smtc-proc.c
smtc.c
stacktrace.c
syscall.c [MIPS] Enable support for the userlocal hardware register 2007-07-10 17:33:02 +01:00
sysirix.c
time.c
topology.c
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
unaligned.c [MIPS] Add some debugfs files to debug unaligned accesses 2007-07-10 17:33:04 +01:00
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
vpe.c