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
..
Makefile s390/uprobes: common library for kprobes and uprobes 2014-09-25 10:52:14 +02:00
delay.c s390/idle: consolidate idle functions and definitions 2014-10-09 09:14:03 +02:00
div64.c
find.c s390/bitops: fix comment 2014-02-21 08:50:20 +01:00
mem32.S
mem64.S
probes.c s390/uprobes: fix kprobes dependency 2014-10-17 14:45:51 +02:00
qrnnd.S
spinlock.c s390/spinlock: add compare-and-delay to lock wait loops 2015-01-23 15:17:04 +01:00
string.c
uaccess.c s390/uaccess: simplify control register updates 2014-05-20 08:58:46 +02:00
ucmpdi2.c