mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Thomas Gleixner <tglx@linutronix.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Potential race in irq_chip_set_defaults()?
Date: Thu, 23 Sep 2010 17:23:06 -0700	[thread overview]
Message-ID: <4C9BEF6A.9040107@goop.org> (raw)

 irq_chip_set_defaults() modifies the irq_chip structure in-place when
setting up an irq.  If that happens on multiple CPUs at once then it
could leave the irq_chip structure in an inconsistent state.

Is there anything preventing that case from happening?  There's no
locking, and as far as I know there's no rule forbidding concurrent
calls to set_irq_chip()/irq_chip_set_defaults().

Thanks,
    J

             reply	other threads:[~2010-09-24  0:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24  0:23 Jeremy Fitzhardinge [this message]
2010-09-24  8:45 ` Thomas Gleixner

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=4C9BEF6A.9040107@goop.org \
    --to=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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

Powered by JetHome