Skip to content

sched: Fix hot-unplug regressions

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 4 patches 19 repliesIn review

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/4kthread: Extract KTHREAD_IS_PER_CPUinclude/linux/kthread.h kernel/kthread.c kernel/smpboot.c+28 -10 replies
3/4workqueue: Tag bound workers with KTHREAD_IS_PER_CPUkernel/workqueue.c+9 -219 replies
4/4sched: Fix CPU hotplug / tighten is_per_cpu_kthread()kernel/sched/core.c kernel/sched/sched.h+17 -30 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPaul E. McKenneyLai JiangshanValentin Schneider
2/4T-b
3/4T-b R-b R-b
4/4T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] sched: Fix hot-unplug regressions

Hi,

These 4 patches are the simplest means (barring a revert) of fixing the CPU hot-unplug problems introduced by commit:

1cf12e08bc4d ("sched/hotplug: Consolidate task migration on CPU unplug")

Testing here, any by Paul, indicate they survive a pounding.

They restore the previous behaviour of forced affinity breaking for the class of kernel threads that happen to have single CPU affinity, but are not strictly a per-cpu kthread.