mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: manfred@colorfullife.com
Cc: paulmck@linux.vnet.ibm.com, linux-kernel@vger.kernel.org,
	wli@holomorphy.com, sparclinux@vger.kernel.org,
	akpm@linux-foundation.org
Subject: Re: [PATCH] prevent sparc64 from invoking irq handlers on offline CPUs
Date: Tue, 09 Sep 2008 12:57:14 -0700 (PDT)	[thread overview]
Message-ID: <20080909.125714.35737132.davem@davemloft.net> (raw)
In-Reply-To: <48C6C520.5070103@colorfullife.com>

From: Manfred Spraul <manfred@colorfullife.com>
Date: Tue, 09 Sep 2008 20:49:04 +0200

> David Miller wrote:
> > And IPI handler runs in HW irq context, therefore such an IPI-creates-an-IPI
> > should not be allowed, at least not directly.
> >
> > Actually the restriction seems to be that an IPI cannot be sent when
> > "irqs_disabled()", hmmm...
> >
> >   
> Does this apply to smp_send_reschedule() as well?
> A [rare] codepath in the current rcu code does to trigger quiescent states on remote cpus.

It does work on sparc64.  Such an IPI doesn't do a wait so there would
be no deadlock issues either.


      reply	other threads:[~2008-09-09 19:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-31 17:33 Paul E. McKenney
2008-09-03  0:16 ` David Miller
2008-09-03  0:42   ` Paul E. McKenney
2008-09-03  9:21     ` David Miller
2008-09-03 15:42       ` Paul E. McKenney
2008-09-09  0:17         ` David Miller
2008-09-09 14:54           ` Paul E. McKenney
2008-09-09 18:49           ` Manfred Spraul
2008-09-09 19:57             ` David Miller [this message]

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=20080909.125714.35737132.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=sparclinux@vger.kernel.org \
    --cc=wli@holomorphy.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®