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

From: Valentin Schneider
Date: Thu Dec 10 2020 - 11:40:40 EST


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/ff62e3ee994efb3620177bf7b19fab16f4866845.camel@xxxxxxxxxx

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