original_kernel/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
configs [MIPS] Rename PC speaker code 2007-07-12 17:41:23 +01:00
ddb5xxx
dec
emma2rh
gt64120 serial: add early_serial_setup() back to header file 2007-07-18 08:38:22 -07:00
jazz
jmr3927
kernel define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
lemote/lm2e
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
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
sgi-ip22
sgi-ip27
sgi-ip32
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
vr41xx [MIPS] separate platform_device registration for VR41xx RTC 2007-07-12 17:41:15 +01:00
Kconfig [MIPS] Rename PC speaker code 2007-07-12 17:41:23 +01:00
Kconfig.debug
Makefile
defconfig