linux/arch/mips
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
..
arc
au1000 [MIPS] Alchemy: Remove code wrapped by dead symbol CONFIG_FB_XPERT98 2007-07-13 17:40:00 +01:00
basler/excite serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
boot
cobalt [MIPS] add io_map_base to pci_controller on Cobalt 2007-06-26 19:57:33 +02:00
configs [MIPS] Rename PC speaker code 2007-07-12 17:41:23 +01:00
ddb5xxx [MIPS] Put an end to <asm/serial.h>'s long and annyoing existence 2007-07-10 17:33:01 +01:00
dec [MIPS] DECstation: Optimised early printk() 2007-07-10 17:33:00 +01:00
emma2rh [MIPS] EMMA2RH: remove dead KGDB code 2007-06-06 19:34:31 +01:00
gt64120 serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
jazz [MIPS] Put an end to <asm/serial.h>'s long and annyoing existence 2007-07-10 17:33:01 +01:00
jmr3927
kernel define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
lemote/lm2e [MIPS] New files for lemote fulong mini-PC support 2007-07-10 17:33:02 +01:00
lib [MIPS] Include cacheflush.h in uncache.c 2007-07-12 17:41:13 +01:00
math-emu [MIPS] Add some __user tags 2007-07-13 17:40:01 +01:00
mips-boards serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
mipssim serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
mm mm: fault feedback #2 2007-07-19 10:04:41 -07:00
oprofile [MIPS] Separate performance counter interrupts 2007-06-14 18:25:15 +01:00
pci Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 2007-07-12 13:40:57 -07:00
philips/pnx8550 [MIPS] PNX8550: Cleanup proc code. 2007-07-10 17:33:07 +01:00
pmc-sierra serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
qemu [MIPS] Remove prototype for deleted function qemu_handle_int 2007-06-06 19:34:33 +01:00
sgi-ip22 [MIPS] Transform old-style macros to newer "__noreturn" 2007-07-10 17:32:56 +01:00
sgi-ip27 [MIPS] Remove unused dump_tlb functions 2007-07-10 17:32:57 +01:00
sgi-ip32 [MIPS] Put an end to <asm/serial.h>'s long and annyoing existence 2007-07-10 17:33:01 +01:00
sibyte sb1250-duart.c: SB1250 DUART serial support 2007-07-17 10:23:03 -07:00
sni [MIPS] RM: Use only phyiscal address for 82596 and 53c710 2007-07-12 17:41:08 +01:00
tx4927 [MIPS] Kill CONFIG_TX4927BUG_WORKAROUND 2007-07-13 17:40:00 +01:00
tx4938 [MIPS] rbtx4938: Fix secondary PCIC and glue internal NICs 2007-07-10 17:33:04 +01:00
vr41xx [MIPS] separate platform_device registration for VR41xx RTC 2007-07-12 17:41:15 +01:00
defconfig [MIPS] Delete Ocelot 3 support. 2007-07-10 17:33:05 +01:00
Kconfig [MIPS] Rename PC speaker code 2007-07-12 17:41:23 +01:00
Kconfig.debug [MIPS] SMTC: Fix cut'n'paste bug in Kconfig.debug 2007-07-06 16:17:11 +01:00
Makefile [MIPS] Delete Ocelot 3 support. 2007-07-10 17:33:05 +01:00