linux/arch/s390/lib
Martin Schwidefsky 2c72a44ecd s390/spinlock: add compare-and-delay to lock wait loops
Add the compare-and-delay instruction to the spin-lock and rw-lock
retry loops. A CPU executing the compare-and-delay instruction stops
until the lock value has changed. This is done to make the locking
code for contended locks to behave better in regard to the multi-
hreading facility. A thread of a core executing a compare-and-delay
will allow the other threads of a core to get a larger share of the
core resources.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-01-23 15:17:04 +01:00
..
delay.c s390/idle: consolidate idle functions and definitions 2014-10-09 09:14:03 +02:00
div64.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
find.c s390/bitops: fix comment 2014-02-21 08:50:20 +01:00
Makefile s390/uprobes: common library for kprobes and uprobes 2014-09-25 10:52:14 +02:00
mem32.S s390/string: provide asm lib functions for memcpy and memcmp 2012-09-26 15:44:50 +02:00
mem64.S s390/string: provide asm lib functions for memcpy and memcmp 2012-09-26 15:44:50 +02:00
probes.c s390/uprobes: fix kprobes dependency 2014-10-17 14:45:51 +02:00
qrnnd.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
spinlock.c s390/spinlock: add compare-and-delay to lock wait loops 2015-01-23 15:17:04 +01:00
string.c s390/string: provide asm lib functions for memcpy and memcmp 2012-09-26 15:44:50 +02:00
uaccess.c s390/uaccess: simplify control register updates 2014-05-20 08:58:46 +02:00
ucmpdi2.c