mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: "Huang, Ying" <ying.huang@intel.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] IRQ, cpu-hotplug: Fix a race between CPU hotplug and IRQ desc alloc/free
Date: Tue, 5 Sep 2017 09:15:40 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1709050915070.1900@nanos> (raw)
In-Reply-To: <87fuc2yquq.fsf@yhuang-mobile.sh.intel.com>

On Tue, 5 Sep 2017, Huang, Ying wrote:
> Thomas Gleixner <tglx@linutronix.de> writes:
> > +	/* Interrupts are moved away from the dying cpu, reenable alloc/free */
> > +	irq_unlock_sparse();
> > +
> 
> I don't understand this.  It appears that irq_migrate_all_off_this_cpu()
> is called in take_cpu_down() which has sparse_irq_lock held already.

You're right. I was looking at the wrong place.

Thanks,

	tglx

      reply	other threads:[~2017-09-05  7:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-04  8:53 Huang, Ying
2017-09-04  9:23 ` Thomas Gleixner
2017-09-04 23:41   ` Huang, Ying
2017-09-05  7:15     ` 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.DEB.2.20.1709050915070.1900@nanos \
    --to=tglx@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ying.huang@intel.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®