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
..
2015-01-22 12:15:59 +01:00
2014-08-26 13:45:52 -04:00
2015-01-22 12:16:09 +01:00
2012-11-30 15:40:45 +01:00
2015-01-22 12:16:01 +01:00
2015-01-22 12:15:57 +01:00