Re: [PARPORT] parport spinlocks


Philip Blundell (philb@gnu.org)
Mon, 31 Aug 1998 12:57:49 +0100


>I think that with the current code it' s impossible that a deadlock
>happnes, since currently every spinlock is used with the
>spin_[un]lock_irqsave version and there is an unlock after every lock. It
>works as it' s true that 2.0.x works in SMP machines.

Since, in practice, the waitlist is the only area that's touched frequently, I
don't think the lock is going to come under contention very much even with
only a single shared lock. Maybe your patch is an improvement but I don't
think this is the right time for it.

Let's concentrate our efforts on finding and fixing real bugs for the time
being.

p.

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:18:11 EST