Re: [RFC][PATCH] cpu/hotplug: wait for cpuset_hotplug_work to finish on cpu online

From: Daniel Jordan
Date: Tue Dec 08 2020 - 21:13:24 EST


Alexey Klimov <aklimov@xxxxxxxxxx> writes:
> I also in doubts if we need cpuset_wait_for_hotplug() in cpuhp_online_cpu_device()
> since an online uevent is sent there too.

We do need it there if we go with this fix. Your reproducer hits the
same issue when it's changed to exercise smt/control instead of
cpuN/online.