kernel-hacking-2024-linux-s.../arch/s390
Gerald Schaefer 2e4006b34d s390/spinlock: fix system hang with spin_retry <= 0
On LPAR, when spin_retry is set to <= 0, arch_spin_lock_wait() and
arch_spin_lock_wait_flags() may end up in a while(1) loop w/o doing
any compare and swap operation. To fix this, use do/while instead of
for loop.

Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2014-05-20 08:58:52 +02:00
..
appldata
boot
configs
crypto
hypfs
include
kernel
kvm
lib s390/spinlock: fix system hang with spin_retry <= 0 2014-05-20 08:58:52 +02:00
math-emu
mm
net
oprofile
pci
defconfig
Kbuild
Kconfig
Kconfig.debug
Makefile