android_kernel_xiaomi_sm8350/arch
Ravikiran G Thirumalai 22fc6eccbf [PATCH] Change maxaligned_in_smp alignemnt macros to internodealigned_in_smp macros
____cacheline_maxaligned_in_smp is currently used to align critical structures
and avoid false sharing.  It uses per-arch L1_CACHE_SHIFT_MAX and people find
L1_CACHE_SHIFT_MAX useless.

However, we have been using ____cacheline_maxaligned_in_smp to align
structures on the internode cacheline size.  As per Andi's suggestion,
following patch kills ____cacheline_maxaligned_in_smp and introduces
INTERNODE_CACHE_SHIFT, which defaults to L1_CACHE_SHIFT for all arches.
Arches needing L3/Internode cacheline alignment can define
INTERNODE_CACHE_SHIFT in the arch asm/cache.h.  Patch replaces
____cacheline_maxaligned_in_smp with ____cacheline_internodealigned_in_smp

With this patch, L1_CACHE_SHIFT_MAX can be killed

Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-08 20:13:38 -08:00
..
alpha [PATCH] Alpha: convert to generic irq framework (alpha part) 2006-01-06 08:33:40 -08:00
arm [ARM] Move asm/hardware/clock.h to linux/clk.h 2006-01-07 16:15:52 +00:00
arm26 arch/arm26/nwfpe/fpmodule.c: remove kernel 2.0 #ifdef 2006-01-03 13:42:12 +01:00
cris [PATCH] cris: kgdb: remove double_this() 2006-01-06 08:33:45 -08:00
frv [PATCH] frv: miscellaneous changes 2006-01-08 20:13:38 -08:00
h8300
i386 [PATCH] Change maxaligned_in_smp alignemnt macros to internodealigned_in_smp macros 2006-01-08 20:13:38 -08:00
ia64 [PATCH] Swap Migration V5: sys_migrate_pages interface 2006-01-08 20:12:42 -08:00
m32r [PATCH] m32r: Remove unnecessary icu_data_t definitions 2006-01-06 08:33:44 -08:00
m68k
m68knommu [PATCH] m68knommu: enable_irq/disable_irq 2006-01-06 08:33:44 -08:00
mips Relax the rw_verify_area() error checking. 2006-01-04 16:20:40 -08:00
parisc
powerpc [PATCH] driver core: replace "hotplug" by "uevent" 2006-01-04 16:18:08 -08:00
ppc [PATCH] ppc32: Re-add embed_config.c to ml300/ep405 2006-01-06 08:33:31 -08:00
s390 [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
sh
sh64
sparc [SPARC]: Use STABS_DEBUG and DWARF_DEBUG macros in vmlinux.lds.S 2005-12-28 13:22:54 -08:00
sparc64 [SPARC]: Use STABS_DEBUG and DWARF_DEBUG macros in vmlinux.lds.S 2005-12-28 13:22:54 -08:00
um [PATCH] uml: free network IRQ correctly 2006-01-06 08:33:48 -08:00
v850
x86_64 [PATCH] Change maxaligned_in_smp alignemnt macros to internodealigned_in_smp macros 2006-01-08 20:13:38 -08:00
xtensa