android_kernel_xiaomi_sm8350/arch/arm/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
..
armksyms.c [ARM] use __used attribute 2007-05-30 13:15:06 +01:00
arthur.c
asm-offsets.c [ARM] ARMv6: add CPU_HAS_ASID configuration 2007-05-17 10:19:23 +01:00
bios32.c
calls.S Introduce fixed sys_sync_file_range2() syscall, implement on PowerPC and ARM 2007-06-28 11:38:30 -07:00
compat.c
compat.h
crunch-bits.S
crunch.c
debug.S
dma-isa.c
dma.c [ARM] Export dma_channel_active() 2007-03-31 21:36:53 +01:00
ecard.c [ARM] ecard: add ecardm_iomap() / ecardm_iounmap() 2007-05-11 17:19:02 +01:00
ecard.h [ARM] ecard: Move private ecard junk out of asm/ecard.h 2007-05-03 14:16:56 +01:00
entry-armv.S
entry-common.S
entry-header.S
fiq.c
head-common.S [ARM] 4423/1: add ATAGS support 2007-07-12 11:13:33 +01:00
head-nommu.S [ARM] Ensure head text is always placed at the start of kernel 2007-05-08 15:15:45 +01:00
head.S [ARM] 4423/1: add ATAGS support 2007-07-12 11:13:33 +01:00
init_task.c [ARM] Shut up warning about init_thread_union 2007-05-08 12:39:37 +01:00
io.c
irq.c [ARM] Remove needless linux/ptrace.h includes 2007-04-21 20:34:47 +01:00
isa.c
iwmmxt.S
machine_kexec.c
Makefile [ARM] Add stacktrace support and make oprofile use it 2007-04-28 09:59:37 +01:00
module.c [ARM] Fix ARM branch relocation range 2007-05-08 22:05:25 +01:00
process.c [ARM] 4453/1: Fully Decode ARM instruction set state in show_regs() tombstone 2007-07-12 11:13:35 +01:00
ptrace.c PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
ptrace.h [ARM] ptrace: clean up single stepping support 2007-04-21 20:34:58 +01:00
relocate_kernel.S
semaphore.c
setup.c [ARM] 4423/1: add ATAGS support 2007-07-12 11:13:33 +01:00
signal.c [ARM] ptrace: clean up single stepping support 2007-04-21 20:34:58 +01:00
signal.h
smp.c [ARM] Mark SMP local timer and IPI as exception entries 2007-05-08 11:31:07 +01:00
stacktrace.c [ARM] Fix stacktrace FP range checking 2007-05-30 13:15:12 +01:00
stacktrace.h [ARM] Add stacktrace support and make oprofile use it 2007-04-28 09:59:37 +01:00
sys_arm.c Introduce fixed sys_sync_file_range2() syscall, implement on PowerPC and ARM 2007-06-28 11:38:30 -07:00
sys_oabi-compat.c
time.c [ARM] Spinlock initializer cleanup 2007-05-11 17:38:04 +01:00
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
xscale-cp0.c