Skip to content

sched/deadline: cpuset task acceptance review

Daniel Bristot de Oliveira cgroups lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6sched/deadline: Consolidate the SCHED_DL task_can_attach() check on its own functionkernel/sched/core.c kernel/sched/deadline.c+8 -20 replies
2/6sched/deadline: Inform dl_task_can_attach() if the cpuset is exclusiveinclude/linux/sched.h kernel/cgroup/cpuset.c kernel/sched/core.c +2 more+10 -60 replies
3/6sched/deadline: Allow DL tasks on empty (cgroup v2) cpusetskernel/sched/deadline.c+7 -03 replies
4/6sched/deadline: Block DL tasks on non-exclusive cpuset if bandwitdh control is enablekernel/sched/deadline.c+7 -03 replies
5/6sched/deadline: Add helpers to get the correct root domain/span/dl_bwkernel/sched/sched.h+43 -00 replies
6/6sched/deadline: Fixes cpu/rd/dl_bw references for suspended taskskernel/sched/core.c kernel/sched/deadline.c+5 -52 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] sched/deadline: cpuset task acceptance review

While surveying the properties of the SCHED_DEADLINE, Marco Perronet found some inconsistencies in the acceptance of DL threads on cpuset. More precisely, regarding the acceptance of treads with arbitrary affinity. He contacted me, and while doing the investigation, we found yet other potential issues addressed in this patch series.

Each patch has a more in-depth explanation, including ways to reproduce the problem.

Daniel Bristot de Oliveira (6):
sched/deadline: Consolidate the SCHED_DL task_can_attach() check on
its own function
sched/deadline: Inform dl_task_can_attach() if the cpuset is exclusive sched/deadline: Allow DL tasks on empty (cgroup v2) cpusets sched/deadline: Block DL tasks on non-exclusive cpuset if bandwitdh
control is enable
sched/deadline: Add helpers to get the correct root domain/span/dl_bw sched/deadline: Fixes cpu/rd/dl_bw references for suspended tasks

 include/linux/sched.h   |  2 +-
 kernel/cgroup/cpuset.c  |  5 ++++-
 kernel/sched/core.c     | 13 ++++++------
 kernel/sched/deadline.c | 28 ++++++++++++++++++++++---
 kernel/sched/sched.h    | 45 ++++++++++++++++++++++++++++++++++++++++-
 5 files changed, 80 insertions(+), 13 deletions(-)
Signature · 1 line
2.29.2