Re: Disabling interrupts in 2.4.x

2000-12-18 Thread Alan Cox
> I would expect this function to disable interrupts, but given the scale of > change between 2.2.x spinlock.h and 2.4.x spinlock.h I'm just not sure > anymore. spin_lock_irqsave disables interrupts but only on the CPU that the lock is taken. - To unsubscribe from this list: send the line "unsu

RE: Disabling interrupts in 2.4.x

2000-12-18 Thread Boerner, Brian
It's a UP configured system. -bmb- > -Original Message- > From: Andi Kleen [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 18, 2000 3:18 PM > To: Boerner, Brian > Cc: '[EMAIL PROTECTED]' > Subject: Re: Disabling interrupts in 2.4.x > >

Re: Disabling interrupts in 2.4.x

2000-12-18 Thread Andi Kleen
> The only thing I am sure of is that interrupts are simply not disabled. They are only disabled on the local CPU, they could still occur on other CPUs. This is not different from 2.2. > > I've also looked at some other scsi drivers that are disabling interrupts > and they appear to be making