Subject: Re: spin_lock_irqsave and multi-core

From: gshan <[email-masked]>
Date: Thu, 01 Apr 2010 10:41:58 +0800

Benjamin Herrenschmidt wrote:

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.

Thanks a lot for your answer.

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 ?

One of my private driver need it. I don't
know how to do it.

Cheers,
Ben.