Re: [PATCH] s390: do local_irq_restore while spinning in spin_lock_irqsave

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 22, 2008 at 06:53:13PM +0900, Hisashi Hifumi wrote:
> Hi
>
> 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.
>
> Comments?

Thanks for your patch! Makes sense. I will change it so it will apply on
our patch queue and add it.
-
To unsubscribe from this list: send the line "unsubscribe linux-s390" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux