From: Thomas Gleixner <tglx@linutronix.de>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Potential race in irq_chip_set_defaults()?
Date: Fri, 24 Sep 2010 10:45:09 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.2.00.1009241040420.2416@localhost6.localdomain6> (raw)
In-Reply-To: <4C9BEF6A.9040107@goop.org>
Jeremy
On Thu, 23 Sep 2010, Jeremy Fitzhardinge wrote:
> 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().
that's true. Never thought about that. Will have a look.
Thanks,
tglx
prev parent reply other threads:[~2010-09-24 8:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-24 0:23 Jeremy Fitzhardinge
2010-09-24 8:45 ` Thomas Gleixner [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=alpine.LFD.2.00.1009241040420.2416@localhost6.localdomain6 \
--to=tglx@linutronix.de \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.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 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®