Subject: Re: spin_lock_irqsave and multi-core

From: Benjamin Herrenschmidt <[email-masked]>
Date: Thu, 01 Apr 2010 13:39:05 +1100

On Thu, 2010-04-01 at 09:59 +0800, gshan wrote:
> On multi-core system, spin_lock_irqsave() can stop all CPU cores 
> receiving interrupts?

No.

> If the answer is no, what we can do to disable external interrupt for 
> all CPU cores?

You don't :-)

Really, you generally don't. Why would you want to do that ?

Cheers,
Ben.