use the new percpu interface for shared data
authorFenghua Yu <fenghua.yu@intel.com>
Thu, 19 Jul 2007 08:48:13 +0000 (01:48 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:45 +0000 (10:04 -0700)
commitf34e3b61f2be9628bd41244f3ecc42009c5eced5
tree192a64c12f84b3d69b9bf12ba56c2c7d86bc269b
parent5fb7dc37dc16fbc8b80d81318a582201ef7e280d
use the new percpu interface for shared data

Currently most of the per cpu data, which is accessed by different cpus,
has a ____cacheline_aligned_in_smp attribute.  Move all this data to the
new per cpu shared data section: .data.percpu.shared_aligned.

This will seperate the percpu data which is referenced frequently by other
cpus from the local only percpu data.

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: "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>
arch/i386/kernel/init_task.c
arch/i386/kernel/irq.c
arch/ia64/kernel/smp.c
arch/x86_64/kernel/init_task.c
kernel/sched.c