All of lore.kernel.org
 help / color / mirror / Atom feed
From: gshan <Gavin.Shan@alcatel-lucent.com>
To: linuxppc-dev@lists.ozlabs.org
Subject: spin_lock_irqsave and multi-core
Date: Thu, 01 Apr 2010 09:59:33 +0800	[thread overview]
Message-ID: <4BB3FE05.6040800@alcatel-lucent.com> (raw)

I got a question when reading source code. Hope somebody can give me the 
answer.
On multi-core system, spin_lock_irqsave() can stop all CPU cores 
receiving interrupts?
If the answer is no, what we can do to disable external interrupt for 
all CPU cores?

Thanks,
Gavin

             reply	other threads:[~2010-04-01  2:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-01  1:59 gshan [this message]
2010-04-01  2:39 ` spin_lock_irqsave and multi-core Benjamin Herrenschmidt
2010-04-01  2:41   ` gshan
2010-04-01  2:56     ` Benjamin Herrenschmidt
2010-04-01  3:18       ` gshan
2010-04-01  4:45         ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BB3FE05.6040800@alcatel-lucent.com \
    --to=gavin.shan@alcatel-lucent.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.