[PATCH V2 0/2] sched/deadline: Revised wakeup for suspending constrained dl tasks

From: Daniel Bristot de Oliveira
Date: Mon May 29 2017 - 10:24:34 EST


Hi,

Here is the new version of the patch.

Changes from RFC:
- dl_runtime and dl_deadline don't get updated that often, so
save the task's density in a new variable (dl_density) in the
sched_dl_entity, avoiding a division in the wakeup path.
(Steven Rostedt & Juri Lelli)

- Added a patch fixing the comment of the variable dl_bw in the
sched_dl_entity.

- Comment fixes (Peter Zijlstra):
- Reference the correct dependency (s/edf5835/df8eac8cafce/).
- Better explanation of the problem and solution.

- Fixes the laxity check: Use WARN_ON and change the check to one
that actually works :-) (Peter Zijlstra).

- Adjust the alignment in the unlikely() in the function (Peter Zijlstra).

Daniel Bristot de Oliveira (2):
sched/deadline: Comment fix - dl_bw = dl_runtime / dl_period
sched/deadline: Use the revised wakeup rule for suspending constrained
dl tasks

include/linux/sched.h | 3 +-
kernel/sched/core.c | 2 +
kernel/sched/deadline.c | 98 +++++++++++++++++++++++++++++++++++++++++++------
3 files changed, 91 insertions(+), 12 deletions(-)

--
2.5.5