sched: Migrate disable support for RT
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | sched: Fix balance_callback()kernel/ kernel/ | +77 | 0 replies | |
| 2/10 | sched/hotplug: Ensure only per-cpu kthreads run during hotplugkernel/ kernel/ | +115 | 0 replies | |
| 3/10 | sched/core: Wait for tasks being pushed away on hotplugkernel/ kernel/ | +45 | 0 replies | |
| 4/10 | sched/hotplug: Consolidate task migration on CPU unpluginclude/ include/ kernel/ +1 more | +46 | 0 replies | |
| 5/10 | sched/core: Split __set_cpus_allowed_ptr()kernel/ | +38 | 0 replies | |
| 6/10 | sched: Add task components for migration controlinclude/ init/ kernel/ +1 more | +35 | 0 replies | |
| 7/10 | sched/core: Add mechanism to wait for affinity setting to completeinclude/ kernel/ | +95 | 0 replies | |
| 8/10 | sched: Add update_migratory() callback to scheduler classeskernel/ kernel/ kernel/ | +24 | 0 replies | |
| 9/10 | sched/core: Add migrate_disable/enable()include/ include/ kernel/ +1 more | +169 | 10 replies | |
| 10/10 | sched/core: Make migrate disable and CPU hotplug cooperativekernel/ kernel/ | +38 | 0 replies |
Reviews trailers per patch
1 of 10 patches has a Reviewed-by or Acked-by.
| Patch | Valentin Schneider | Scott Wood | Daniel Bristot de Oliveira |
|---|---|---|---|
| 1/10 | R-b | ||
| 2/10 | |||
| 3/10 | |||
| 4/10 | |||
| 5/10 | |||
| 6/10 | |||
| 7/10 | |||
| 8/10 | Originally-by | ||
| 9/10 | |||
| 10/10 | Originally-by |
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.
Cover letter [patch 00/10] sched: Migrate disable support for RT
On RT enabled kernels most of the code including spin/rw lock held sections are preemptible, which also makes the tasks migrateable. That violates the per CPU constraints. RT needs therefore a mechanism to control migration independent of preemption.
This series is providing a mostly rewritten version of the RT code based on the newest scheduler bits and includes and depends on Peter's 'let tasks kick themself off the outgoing CPU' feature.
While migrate disable/enable are trivial in principle the tricky part is the coordination and serialization against concurrent affinity changes, e.g. sched_setaffinity(2), and CPU hotplug.
Thanks,
tglx