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.