OpenCloudOS-Kernel/arch/s390/lib
Hisashi Hifumi 894cdde26b [S390] do local_irq_restore while spinning in spin_lock_irqsave.
In s390's spin_lock_irqsave, interrupts remain disabled while
spinning. In other architectures like x86 and powerpc, interrupts are
re-enabled while spinning if IRQ is not masked before spin_lock_irqsave
is called.

The following patch re-enables interrupts through local_irq_restore
while spinning for a lock acquisition.
This can improve system response.

[heiko.carstens@de.ibm.com: removed saving of pc]

Signed-off-by: Hisashi Hifumi <hifumi.hisashi@oss.ntt.co.jp>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2008-01-26 14:11:31 +01:00
..
Makefile [S390] Bogomips calculation for 64 bit. 2007-07-10 11:24:47 +02:00
delay.c [S390] prevent softirqs if delay is called disabled 2007-02-21 10:55:00 +01:00
div64.c [S390]: Fix build on 31-bit. 2007-04-25 22:28:53 -07:00
qrnnd.S [S390] Calibrate delay and bogomips. 2007-02-05 21:18:31 +01:00
spinlock.c [S390] do local_irq_restore while spinning in spin_lock_irqsave. 2008-01-26 14:11:31 +01:00
string.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
uaccess.h [S390] Get rid of a lot of sparse warnings. 2007-02-05 21:16:47 +01:00
uaccess_mvcos.c [S390] noexec protection 2007-02-05 21:18:17 +01:00
uaccess_pt.c [S390] 4level-fixup cleanup 2007-10-22 12:52:49 +02:00
uaccess_std.c [S390] Get rid of a lot of sparse warnings. 2007-02-05 21:16:47 +01:00