Re: [PATCH 4.4 045/115] sched/deadline: Throttle a constrained deadline task activated after the deadline

From: Ben Hutchings
Date: Thu Jan 18 2018 - 20:01:14 EST


On Mon, 2017-12-18 at 16:48 +0100, Greg Kroah-Hartman wrote:
> 4.4-stable review patch.ÂÂIf anyone has any objections, please let me
> know.
>
> ------------------
>
> From: Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>
>
>
> [ Upstream commit df8eac8cafce7d086be3bd5cf5a838fa37594dfb ]
[...]

I think this needs another fix on top:

commit ae83b56a56f8d9643dedbee86b457fa1c5d42f59
Author: Xunlei Pang <xlpang@xxxxxxxxxx>
Date:ÂÂÂWed May 10 21:03:37 2017 +0800

ÂÂÂÂsched/deadline: Zero out positive runtime after throttling constrained tasks

There's another fix related to this, but it doesn't appear toÂfix a
regression and I don't know how critical it is:

commit 3effcb4247e74a51f5d8b775a1ee4abf87cc089a
Author: Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>
Date:ÂÂÂMon May 29 16:24:03 2017 +0200

ÂÂÂÂsched/deadline: Use the revised wakeup rule for suspending constrained dl tasks

Ben.

--
Ben Hutchings
Software Developer, Codethink Ltd.