android_kernel_xiaomi_sm8350/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
..
asm-offsets.c
binfmt_elf32.c
cache.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
drivers.c
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
hpmc.S [PARISC] Fix kernel panic in check_ivt 2007-06-04 02:26:52 -04:00
init_task.c
inventory.c
irq.c [PARISC] remove global_ack_eiem 2007-06-12 01:23:30 -04:00
Makefile
module.c
pa7300lc.c
pacache.S
parisc_ksyms.c
pci-dma.c parisc: convert /proc/gsc/pcxl_dma to seq_file 2007-05-22 22:43:01 -04:00
pci.c
pdc_chassis.c
pdc_cons.c
perf_asm.S
perf_images.h
perf.c [PARISC] spelling fixes: arch/parisc/ 2007-05-22 22:52:16 -04: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
semaphore.c
setup.c [PARISC] spelling fixes: arch/parisc/ 2007-05-22 22:52:16 -04:00
signal32.c
signal32.h [PARISC] spelling fixes: arch/parisc/ 2007-05-22 22:52:16 -04:00
signal.c
smp.c [PARISC] fix section mismatch in smp.c 2007-05-30 02:10:12 -04:00
sys32.h
sys_parisc32.c [PARISC] ROUND_UP macro cleanup in arch/parisc 2007-05-22 23:56:14 -04:00
sys_parisc.c
syscall_table.S [PARISC] Wire up utimensat/signalfd/timerfd/eventfd syscalls 2007-05-27 15:19:58 -04:00
syscall.S [PARISC] Fix bug when syscall nr is __NR_Linux_syscalls 2007-06-03 17:53:45 -04:00
time.c [PARISC] spelling fixes: arch/parisc/ 2007-05-22 22:52:16 -04:00
topology.c
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
unaligned.c
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