]> git.baikalelectronics.ru Git - kernel.git/commit
sched/rt: Allow pulling unfitting task
authorQais Yousef <qais.yousef@arm.com>
Mon, 2 Mar 2020 13:27:19 +0000 (13:27 +0000)
committerIngo Molnar <mingo@kernel.org>
Fri, 6 Mar 2020 11:57:28 +0000 (12:57 +0100)
commit4f7c6ad785459379d52900b2f12a69e1b47f200c
treee9777780f3c457a6ef1a703c34ce4859f58de589
parent3acfea1c653c9887ad936110e88ed2ce9fd14ec4
sched/rt: Allow pulling unfitting task

When implemented RT Capacity Awareness; the logic was done such that if
a task was running on a fitting CPU, then it was sticky and we would try
our best to keep it there.

But as Steve suggested, to adhere to the strict priority rules of RT
class; allow pulling an RT task to unfitting CPU to ensure it gets a
chance to run ASAP.

LINK: https://lore.kernel.org/lkml/20200203111451.0d1da58f@oasis.local.home/
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Qais Yousef <qais.yousef@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Fixes: 63b8954229f4 ("sched/rt: Make RT capacity-aware")
Link: https://lkml.kernel.org/r/20200302132721.8353-5-qais.yousef@arm.com
kernel/sched/rt.c