Re: [patch] 2.6.5 Improve interrupt handling on contended spinlocks

From: David Mosberger <>
Date: 2004-04-09 10:07:44
>>>>> On Thu, 08 Apr 2004 13:19:37 +1000, Keith Owens <> said:

  Keith> spin_lock_irqsave() on a contended lock leaves interrupts disabled
  Keith> while waiting for the lock.  If the interrupts were enabled before
  Keith> spin_lock_irqsave then this has the nasty side effect of preventing
  Keith> interrupt handling while waiting for the lock.  Change the contention
  Keith> path to enable interrupts if it is safe to do so, allowing the cpu to
  Keith> process interrupts while waiting for the lock.

Seems like a reasonable thing to me.  I'm fine with the ia64-specific
bits, so I guess the only question is whether the linux/spinlock.h
bits will be accepted.


To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Apr 8 20:12:53 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:25 EST