Re: [Bug] Race condition between CPU hotplug off flow and __sched_setscheduler()

From: Peter Zijlstra
Date: Thu May 19 2022 - 09:19:47 EST


On Thu, May 19, 2022 at 03:14:52PM +0200, Peter Zijlstra wrote:
> On Thu, May 19, 2022 at 08:53:15PM +0800, Jing-Ting Wu wrote:
> > Hi all
> >
> >
> > There is a race condition between CPU hotplug off flow and
> > __sched_setscheduler(), which will cause hang-up in CPU hotplug off
> > flow.
>
> Oooh, you're using core scheduling and the A/B are SMT siblings?

Hmm, no.. lemme try again.