RFC sched/ext: Cleanup pick_task_scx()
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 Latest3 patches 16 repliesApplied
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | sched: Detect per-class runqueue changeskernel/ kernel/ kernel/ +5 more | +27 | 3 replies | |
| 2/3 | sched: Add support to pick functions to take rfinclude/ kernel/ kernel/ +6 more | +48 | 9 replies | |
| 3/3 | sched/ext: Fold balance_scx() into pick_task_scx()kernel/ kernel/ kernel/ | +12 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Tejun Heo |
|---|---|
| Series | A-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC][PATCH 0/3] sched/ext: Cleanup pick_task_scx()
Hi,
So I had a poke at 'give @rf to pick_task() and fold balance_scx() into pick_task_scx()' option to see how terrible it was. Turns out, not terrible at all.
I've ran the sched_ext selftest and stress-ng --race-sched 0 thing with various scx_* thingies on.
These patches were done on top of the 'sched_change' patches posted just now:
https://lkml.kernel.org/r/[email protected]
The combined set is also available here:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/cleanup-pick
--- include/linux/sched.h | 7 ++--- kernel/sched/core.c | 50 ++++++++++++++++------------- kernel/sched/deadline.c | 10 +++--- kernel/sched/ext.c | 82 +++++++++--------------------------------------- kernel/sched/fair.c | 23 +++++++------- kernel/sched/idle.c | 4 ++- kernel/sched/rt.c | 4 ++- kernel/sched/sched.h | 21 ++++++++++--- kernel/sched/stop_task.c | 4 ++- 9 files changed, 87 insertions(+), 118 deletions(-)