remarkable-linux/arch/ia64
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
..
configs [IA64] refresh config files 2007-03-08 11:20:17 -08:00
dig
hp [IA64] Clean away some code inside some non-existent CONFIG ifdefs 2007-07-13 16:31:54 -07:00
ia32 diskquota: 32bit quota tools on 64bit architectures 2007-07-16 09:05:48 -07:00
kernel define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
lib missing exports of csum_... 2007-07-17 11:01:07 -07:00
mm mm: fault feedback #2 2007-07-19 10:04:41 -07:00
oprofile
pci [IA64] prevent MCA when performing MMIO mmap to PCI config space 2007-07-11 11:34:49 -07:00
scripts
sn [IA64] correctly count CPU objects in the ia64/sn hwperf interface 2007-07-13 16:09:46 -07:00
defconfig Pull error-inject into release branch 2007-04-30 13:55:43 -07:00
install.sh
Kconfig Kprobes on select architectures no longer EXPERIMENTAL 2007-07-17 10:23:03 -07:00
Kconfig.debug
Makefile
module.lds