Question on workqueue: Manually break affinity on hotplug

From: Zhang, Qiang
Date: Thu Jan 14 2021 - 03:04:39 EST


Hello Peter

Excuse me, I have some questions for you, about a description of this change:

''Don't rely on the scheduler to force break affinity for us -- it will
stop doing that for per-cpu-kthreads."

this mean when cpuhotplug, scheduler do not change affinity for per-cpu-kthread's task, if we not active setting affinity?
but if per-cpu-kthread's task is not run state, when wake up, will reset it's affinity, this is done automatically.

or is it, this place modified to fit the new one hotplug mechanism which
("sched/hotplug: Consolidate task migration on CPU unplug")?

Thanks
Qiang