RFC SCHED_DEADLINE server infrastructure
Status from this message: The following commit has been merged into the sched/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest13 patches 45 repliesApplied
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | sched/deadline: Impose global limits on sched_attr::sched_periodinclude/ kernel/ kernel/ | +38 | 20 replies | |
| 2/13 | stop_machine: Fix stop_cpus_in_progress orderingkernel/ | +2 | 2 replies | |
| 3/13 | sched: Fix kerneldoc comment for ia64_set_curr_taskkernel/ | +1 | 0 replies | |
| 4/13 | sched/{rt,deadline}: Fix set_next_task vs pick_next_taskkernel/ kernel/ | +26 | 6 replies | |
| 5/13 | sched: Add task_struct pointer to sched_class::set_curr_taskkernel/ kernel/ kernel/ +4 more | +49 | 0 replies | |
| 6/13 | sched/fair: Export newidle_balance()kernel/ kernel/ | +12 | 0 replies | |
| 7/13 | sched: Allow put_prev_task() to drop rq->lockkernel/ kernel/ kernel/ +4 more | +32 | 0 replies | |
| 8/13 | sched: Rework pick_next_task() slow-pathkernel/ kernel/ kernel/ +4 more | +34 | 0 replies | |
| 9/13 | sched: Unify runtime accounting across classesinclude/ kernel/ kernel/ +3 more | +49 | 0 replies | |
| 10/13 | sched/deadline: Collect sched_dl_entity initializationkernel/ kernel/ kernel/ | +18 | 0 replies | |
| 11/13 | sched/deadline: Move bandwidth accounting into {en,de}queue_dl_entitykernel/ kernel/ | +75 | 0 replies | |
| 12/13 | sched/deadline: Introduce deadline serversinclude/ kernel/ kernel/ +2 more | +277 | 16 replies | |
| 13/13 | sched/fair: Add trivial fair serverkernel/ kernel/ kernel/ | +35 | 0 replies |
Reviews trailers per patch
2 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Juri Lelli | Daniel Bristot de Oliveira | Phil Auld |
|---|---|---|---|
| 1/13 | A-b | A-b | |
| 2/13 | R-b | ||
| 3/13 | |||
| 4/13 | |||
| 5/13 | |||
| 6/13 | |||
| 7/13 | |||
| 8/13 | |||
| 9/13 | |||
| 10/13 | |||
| 11/13 | |||
| 12/13 | |||
| 13/13 |
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 [RFC][PATCH 00/13] SCHED_DEADLINE server infrastructure
Hi,
So recently syzcaller ran into the big deadline/period issue (again), and I figured I should at least propose a patch that puts limits on that -- see Patch 1.
During that discussion; SCHED_OTHER servers got mentioned (also again), and I figured I should have a poke at that too. So I took some inspiration from patches Alessio Balsini send a while back and cobbled something together for that too.
Included are also a bunch of patches I did for core scheduling (2-8), which I'm probably going to just merge as they're generic cleanups. They're included here because they make pick_next_task() simpler and thereby thinking about the nested pick_next_task() logic inherent in servers was less of a head-ache. (I think it can work fine without them, but its easier with them on)
Anyway; after it all compiled it booted a kvm image all the way to userspace on the first run, so clearly this code isn't to be trusted at all.
There's still lots of missing bits and pieces -- like changelogs and the fair server isn't configurable or hooked into the bandwidth accounting, but the foundation is there I think.
Enjoy!