sched_ext: pass the initial cpu.idle state in scx_cgroup_init_args
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 3 repliesIn review
- v21 patch 4 repliesSuperseded
- v11 patch 2 repliesSuperseded
Changes in v3 from the cover letter
- rename the new field to sched_idle, as a bare "idle" reads as CPU idle state in sched_ext (Tejun)
- split the tg->scx.idle rename into 2/2 so 1/2 stays minimal for stable backport
- add the Fixes: tag (Andrea)
- regenerate on top of current linux-next, which also resolves the CI conflict reported against v2
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sched_ext: pass the initial cpu.idle state in scx_cgroup_init_argskernel/ kernel/ kernel/ | +8 | 0 replies | |
| 2/2 | sched_ext: rename tg->scx.idle to tg->scx.sched_idleinclude/ kernel/ kernel/ | +7 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andrea Righi |
|---|---|
| Series | R-b |
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] sched_ext: pass the initial cpu.idle state in scx_cgroup_init_args
From: Tao Cui <[email protected]>
This carries the initial cpu.idle state of a cgroup through ops.cgroup_init(), which was the only cpu controller knob whose initial value never reached the BPF scheduler. Patch 1 is the fix; patch 2 renames tg->scx.idle to tg->scx.sched_idle, suggested in review, as a separate cleanup.
Changes since v2:
- rename the new field to sched_idle, as a bare "idle" reads as CPU idle state in sched_ext (Tejun)
- split the tg->scx.idle rename into 2/2 so 1/2 stays minimal for stable backport
- add the Fixes: tag (Andrea)
- regenerate on top of current linux-next, which also resolves the CI conflict reported against v2
v2: https://lore.kernel.org/r/[email protected]
v1: https://lore.kernel.org/r/[email protected]
Tao Cui (2):
sched_ext: pass the initial cpu.idle state in scx_cgroup_init_args
sched_ext: rename tg->scx.idle to tg->scx.sched_idle
include/linux/sched/ext.h | 2 +- kernel/sched/ext/ext.c | 8 +++++--- kernel/sched/ext/internal.h | 3 +++ kernel/sched/ext/sub.c | 2 ++ 4 files changed, 11 insertions(+), 4 deletions(-)
Signature · 1 line
2.43.0