Skip to content

add fixes for mainline migrate_disable commit

Paul Gortmaker linux-rt-users 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7sched: Fix migration_cpu_stop() requeueingkernel/sched/core.c+28 -110 replies
2/7sched: Simplify migration_cpu_stop()kernel/sched/core.c+8 -480 replies
3/7sched: Collate affine_move_task() stopperskernel/sched/core.c+8 -150 replies
4/7sched: Optimize migration_cpu_stop()kernel/sched/core.c+12 -10 replies
5/7sched: Fix affine_move_task() self-concurrencykernel/sched/core.c+12 -30 replies
6/7sched: Simplify set_affinity_pending refcountskernel/sched/core.c+20 -120 replies
7/7sched: Don't defer CPU pick to migration_cpu_stop()kernel/sched/core.c+12 -80 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchValentin Schneider
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v5.10-rt 0/7] add fixes for mainline migrate_disable commit

Mainline 6d337eab041d ("sched: Fix migrate_disable() vs set_cpus_allowed_ptr()") first appeared in the v5.11 release, but was already in earlier versions of -rt.

At that point, v5.10-rt was still in the -devel repo ; the commit was actually first added in commit/tag v5.9-rc8-rt14-patches as:

patches/0010-sched-Fix-migrate_disable-vs-set_cpus_allowed_ptr.patch

...and then can be found as commit 5d7baa3f554d in the v5.10-rt fast forward branch that regularly merges v5.10.x-stable in the stable-rt repo.

This matters, because 6d337eab041d is mentioned in a bunch of "Fixes:" lines and those fixes made it back into v5.11.7-stable, but weren't considered for v5.10 because v5.10 (and v5.10.x-stable) didn't have 6d337eab041d.

So it is on -rt to ensure the related fixes make it back onto v5.10-rt since we deployed the commit which is the subject of those Fixes lines on that particular version baseline (vs. mainline or stable deploying it).

Commits are applied here in upstream order. Note also that the final commit is not yet mainline, but is in tip on sched/core and hence I'm assuming it will land in mainline with the same SHA.

Active non-EOL Shoulder releases:

v5.4-rt:  Does not have any variant of 6d337eab041d.
v5.12-rt: Has all fixes via mainline v5.12 except for tip 475ea6c60279e

Testing:
Sanity boot test of v5.10.41-rt42 +7 commits; with defconfig + rt enabled.

Credit goes to Kevin Hao <[email protected]> for spotting and reporting the missing fixes.

Paul.

---

Peter Zijlstra (6):
sched: Fix migration_cpu_stop() requeueing
sched: Simplify migration_cpu_stop()
sched: Collate affine_move_task() stoppers
sched: Optimize migration_cpu_stop()
sched: Fix affine_move_task() self-concurrency
sched: Simplify set_affinity_pending refcounts

Valentin Schneider (1):
sched: Don't defer CPU pick to migration_cpu_stop()

 kernel/sched/core.c | 144 ++++++++++++++++++++++----------------------
 1 file changed, 73 insertions(+), 71 deletions(-)
Signature · 1 line
2.25.1