Skip to content

Fix various bits of AC and PI for SCHED_DEADLINE

Juri Lelli cgroups lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sched/deadline: fix bandwidth check/update when migrating tasks between exclusive cpusetsinclude/linux/sched.h kernel/cpuset.c kernel/sched/core.c +2 more+102 -320 replies
2/4sched/deadline: ensure that updates to exclusive cpusets don't break ACinclude/linux/sched.h kernel/cpuset.c kernel/sched/core.c+33 -00 replies
3/4sched/deadline: don't replenish from a !SCHED_DEADLINE entitykernel/sched/deadline.c+12 -10 replies
4/4sched/deadline: fix races between rt_mutex_setprio and dl_task_timerkernel/sched/deadline.c+13 -50 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchDaniel Wagner
SeriesT-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Fix various bits of AC and PI for SCHED_DEADLINE

Hi all,

this is basically a resend of 4 patches fixing problems around AC and PI related to SCHED_DEADLINE. You can find the full story here:

- https://lkml.org/lkml/2014/9/19/134
- https://lkml.org/lkml/2014/9/24/493

First two patches fix AC. They are the same as the previous version, plus aligning to commit f10e00f4bf36 ("sched/dl: Use dl_bw_of() under rcu_read_lock_sched()"). Last two fix PI.

Thanks a lot again to Daniel for spending time fixing and testing the PI stuff! And to Peter and Vincent for reviews and comments.

Best Regards,

- Juri

Juri Lelli (4):
sched/deadline: fix bandwidth check/update when migrating tasks
between exclusive cpusets
sched/deadline: ensure that updates to exclusive cpusets don't break
AC
sched/deadline: don't replenish from a !SCHED_DEADLINE entity sched/deadline: fix races between rt_mutex_setprio and dl_task_timer

 include/linux/sched.h   |  4 +++
 kernel/cpuset.c         | 23 ++++++------
 kernel/sched/core.c     | 94 +++++++++++++++++++++++++++++++++++++++----------
 kernel/sched/deadline.c | 58 +++++++++++++++++++++++++-----
 kernel/sched/sched.h    | 19 ++++++++++
 5 files changed, 160 insertions(+), 38 deletions(-)
Signature · 1 line
2.1.2