android_kernel_xiaomi_sm8350/arch/s390
Christian Ehrhardt 96567161de [PATCH] s390: Increase spinlock retry code performance
Currently the code tries up to spin_retry times to grab a lock using the cs
instruction.  The cs instruction has exclusive access to a memory region
and therefore invalidates the appropiate cache line of all other cpus.  If
there is contention on a lock this leads to cache line trashing.  This can
be avoided if we first check wether a cs instruction is likely to succeed
before the instruction gets actually executed.

Signed-off-by: Christian Ehrhardt <ehrhardt@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-09 19:47:38 -08:00
..
appldata [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00
boot [PATCH] use ${CROSS_COMPILE}installkernel in arch/*/boot/install.sh 2005-06-23 09:45:07 -07:00
crypto [PATCH] s390: sha256 crypto code fix 2006-01-14 18:27:08 -08:00
kernel [PATCH] flags parameter for linkat 2006-02-24 14:31:39 -08:00
lib [PATCH] s390: Increase spinlock retry code performance 2006-03-09 19:47:38 -08:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] cmm NULL noise removal, __user annotations 2006-02-07 20:58:15 -05:00
oprofile [PATCH] s390: add oprofile callgraph support 2006-01-06 08:33:50 -08:00
defconfig [PATCH] s390: update default configuration 2006-02-11 21:41:12 -08:00
Kconfig [PATCH] Introduce CONFIG_DEFAULT_MIGRATION_COST 2006-02-17 13:59:26 -08:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00