[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1709050915070.1900@nanos>
Date: Tue, 5 Sep 2017 09:15:40 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: "Huang, Ying" <ying.huang@...el.com>
cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] IRQ, cpu-hotplug: Fix a race between CPU hotplug and
IRQ desc alloc/free
On Tue, 5 Sep 2017, Huang, Ying wrote:
> Thomas Gleixner <tglx@...utronix.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
Powered by blists - more mailing lists