[PATCH v3 0/6] RT Capacity Awareness Fixes & Improvements

From: Qais Yousef
Date: Mon Mar 02 2020 - 08:27:38 EST


Changes since v2:
* Fix missing check target != -1 (patch 2)
* Drop the logic to check for fit cpu in wakeup and switched_to_rt()
(patch 5)
* Added the patch that fixes pushing unfit cpu in select_task_rq_rt
That was patch 3 in v1[1] (patch 6)

Link to v2:
https://lore.kernel.org/lkml/20200223184001.14248-1-qais.yousef@xxxxxxx/#t


Pavan, Steve and Dietmar pointed out a few issues and improvements that could
be done to the logic of RT Capacity Awareness, that this series fixes.

Please consider applying as fixes for 5.6.

Except for patch 6 which I'm not sure if the discussion around it has settled,
patches 1-5 should be good to go.

Thanks!

--
Qais Yousef

[1] https://lore.kernel.org/lkml/20200214163949.27850-4-qais.yousef@xxxxxxx/


Qais Yousef (6):
sched/rt: cpupri_find: Implement fallback mechanism for !fit case
sched/rt: Re-instate old behavior in select_task_rq_rt
sched/rt: Optimize cpupri_find on non-heterogenous systems
sched/rt: Allow pulling unfitting task
sched/rt: Remove unnecessary push for unfit tasks
sched/rt: Fix pushing unfit tasks to a better CPU

kernel/sched/cpupri.c | 167 +++++++++++++++++++++++++++---------------
kernel/sched/cpupri.h | 6 +-
kernel/sched/rt.c | 71 +++++++++++++-----
3 files changed, 166 insertions(+), 78 deletions(-)

--
2.17.1