Re: [PARPORT] parport-diff-980111


Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 14 Jan 1998 17:54:49 +0000 (GMT)


> So cli() don' t mask well critical code that can be managed also from
> others CPU, right? cli() clear interrupts only on the CPU that executed
> cli(), or no?

cli() masks all too well - it requires cross cpu messages and lock acquisitions
to do its job. spin_lock_and_irqsave() only affects the local cli state (to
avoid interrupt holding a spinlock by an irq handler wishing to claim it)

Alan

-- 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:17:19 EST