linux-sg2042/arch/parisc/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 [PATCH] sanitize building of fs/compat_ioctl.c 2006-01-10 08:01:33 -08:00
asm-offsets.c rename thread_info to stack 2007-05-09 12:30:56 -07:00
binfmt_elf32.c [PATCH] elf: Always define elf_addr_t in linux/elf.h 2006-12-07 08:39:38 -08:00
cache.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
drivers.c [PARISC] display parisc device modalias in sysfs 2007-02-17 01:08:09 -05:00
entry.S [PARISC] fix "reduce size of task_struct on 64-bit machines" fallout 2007-05-30 02:27:46 -04:00
firmware.c [PARISC] spelling fixes: arch/parisc/ 2007-05-22 22:52:16 -04:00
hardware.c [PARISC] fix section mismatches in arch/parisc/kernel 2007-05-27 13:36:27 -04:00
head.S [PARISC] more ENTRY(), ENDPROC(), END() conversions 2007-02-17 01:16:12 -05:00
hpmc.S [PARISC] Fix kernel panic in check_ivt 2007-06-04 02:26:52 -04:00
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
inventory.c [PARISC] use CONFIG_64BIT instead of __LP64__ 2007-02-17 01:16:40 -05:00
irq.c [PARISC] remove global_ack_eiem 2007-06-12 01:23:30 -04:00
module.c [PARISC] use CONFIG_64BIT instead of __LP64__ 2007-02-17 01:16:40 -05:00
pa7300lc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pacache.S [PARISC] add ASM_EXCEPTIONTABLE_ENTRY() macro 2007-02-17 01:16:26 -05:00
parisc_ksyms.c [PARISC] use CONFIG_64BIT instead of __LP64__ 2007-02-17 01:16:40 -05:00
pci-dma.c parisc: convert /proc/gsc/pcxl_dma to seq_file 2007-05-22 22:43:01 -04:00
pci.c [PARISC] avoid compiler warnings when compiling 64bit 2006-12-08 00:34:38 -05:00
pdc_chassis.c [PARISC] Work around machines which do not support chassis warnings 2006-06-27 23:28:37 +00:00
pdc_cons.c [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
perf.c [PARISC] spelling fixes: arch/parisc/ 2007-05-22 22:52:16 -04:00
perf_asm.S [PARISC] more ENTRY(), ENDPROC(), END() conversions 2007-02-17 01:16:12 -05:00
perf_images.h [PARISC] Use kzalloc and other janitor-style cleanups 2006-01-22 20:26:31 -05:00
process.c [PARISC] be more defensive in process.c::get_wchan 2007-05-30 02:36:00 -04:00
processor.c [PARISC] fix section mismatches in arch/parisc/kernel 2007-05-27 13:36:27 -04:00
ptrace.c PTRACE_PEEKDATA consolidation 2007-07-17 10:23:03 -07:00
real2.S [PARISC] more ENTRY(), ENDPROC(), END() conversions 2007-02-17 01:16:12 -05:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c [PARISC] spelling fixes: arch/parisc/ 2007-05-22 22:52:16 -04:00
signal.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
signal32.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
signal32.h [PARISC] spelling fixes: arch/parisc/ 2007-05-22 22:52:16 -04:00
smp.c [PARISC] fix section mismatch in smp.c 2007-05-30 02:10:12 -04:00
sys32.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys_parisc.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sys_parisc32.c [PARISC] ROUND_UP macro cleanup in arch/parisc 2007-05-22 23:56:14 -04:00
syscall.S [PARISC] Fix bug when syscall nr is __NR_Linux_syscalls 2007-06-03 17:53:45 -04:00
syscall_table.S [PARISC] Wire up utimensat/signalfd/timerfd/eventfd syscalls 2007-05-27 15:19:58 -04:00
time.c [PARISC] spelling fixes: arch/parisc/ 2007-05-22 22:52:16 -04:00
topology.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
unaligned.c [PARISC] add ASM_EXCEPTIONTABLE_ENTRY() macro 2007-02-17 01:16:26 -05:00
unwind.c kallsyms: make KSYM_NAME_LEN include space for trailing '\0' 2007-07-17 10:23:03 -07:00
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00