Re: [PARPORT] parport spinlocks


Andrea Arcangeli (arcangeli@mbox.queen.it)
Mon, 31 Aug 1998 09:56:58 +0200 (CEST)


On Sun, 30 Aug 1998, Philip Blundell wrote:

>>I fixed and fine grined parport spinlocks. Removing the local cli is an
>>improvmenet but splitting the spinlocks is necessary.
>
>Why is it necessary - do you think a deadlock can happen with the current
>code? Having three locks seems like overkill.

I don' t want to think if it could happen a deadlock. The patch is the
strightforward way to use spinlock. It' s not overkill. Think why don' t
you use 1 only spinlock all over the kernel and why spinlock spinlocks
exists in first place.

Andrea[s] Arcangeli

-- 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:10 EST