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 [off-list ref] 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(-)
--
2.25.1