[PATCH 0/3] sched/deadline: fixes and improvements

From: Wander Lairson Costa
Date: Mon Jul 22 2024 - 09:30:30 EST


Hello,

This patch series addresses specific issues and improvements within
the scheduler's deadline (DL) class. The patches aim to fix warnings,
remove redundant checks, and consolidate timer cancellation logic for
better consistency and code quality.

Patch 1: Fix warning in migrate_enable for boosted tasks

Fix a warning caused by unnecessary calls to setup_new_dl_entity for
boosted tasks during CPU migate_enable calls.

Patch 2: sched/deadline: avoid redundant check for boosted task

Remove redundant WARN_ON check in enqueue_dl_entity, as boosted tasks
do not require setup_new_dl_entity.

Patch 3: sched/deadline: Consolidate Timer Cancellation

Consolidate timer cancellation logic into dedicated functions,
ensuring consistent behavior and reducing code duplication.

Wander Lairson Costa (3):
sched/deadline: Fix warning in migrate_enable for boosted tasks
sched/deadline: avoid redundant check for boosted task
sched/deadline: Consolidate Timer Cancellation

kernel/sched/deadline.c | 56 +++++++++++++++++++++++++++--------------
1 file changed, 37 insertions(+), 19 deletions(-)

--
2.45.2