Skip to content

workqueue: Fix migrate_disable hotplug changes vs kworker affinity

Valentin Schneider lkml 1 version Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2stop_machine: Add caller debug info to queue_stop_cpus_workkernel/stop_machine.c+1 -00 replies
2/2workqueue: Fix affinity of kworkers attached during late hotplugkernel/workqueue.c+17 -76 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] workqueue: Fix migrate_disable hotplug changes vs kworker affinity

Hi folks,

This should fix the issue reported by Qian at [1]. Dietmar mentioned some other issue with hotplug & deadline tasks, but that's being investigated by someone else ATM.

I would like to mention I suspect this bug comes straight from $hell, as I've never ever had to fight off so many (mostly unrelated) issues while looking into it. Distro kernel being mangled, git tree corruption, periods of heisenbugism...

Cheers,
Valentin

[1]: https://lore.kernel.org/r/[email protected]

Valentin Schneider (2):
stop_machine: Add caller debug info to queue_stop_cpus_work
workqueue: Fix affinity of kworkers attached during late hotplug

 kernel/stop_machine.c |  1 +
 kernel/workqueue.c    | 24 +++++++++++++++++-------
 2 files changed, 18 insertions(+), 7 deletions(-)

--
2.27.0