diff options
| author | Hisashi Hifumi <[email protected]> | 2008-01-26 14:11:28 +0100 |
|---|---|---|
| committer | Martin Schwidefsky <[email protected]> | 2008-01-26 14:11:31 +0100 |
| commit | 894cdde26b538c77b9943bc72f0570abf6e58e37 (patch) | |
| tree | 335f75460bd947c4969c9b7a1ec5764b98bf1d2b /scripts/patch-kernel | |
| parent | dab5209cd878c146d9f6923f061d1c2725ff210f (diff) | |
[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.
[[email protected]: removed saving of pc]
Signed-off-by: Hisashi Hifumi <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions