sched_ext: A fix for v6.14-rc4
The following changes since commit f5717c93a1b999970f3a64d771a1a9ee68cc37d0:
sched_ext: Use SCX_CALL_OP_TASK in task_tick_scx (2025-02-13 06:57:33 -1000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git/ tags/sched_ext-for-6.14-rc4-fixes
for you to fetch changes up to 8fef0a3b17bb258130a4fcbcb5addf94b25e9ec5:
sched_ext: Fix pick_task_scx() picking non-queued tasks when it's called without balance() (2025-02-25 08:28:52 -1000)
----------------------------------------------------------------sched_ext: A fix for v6.14-rc4
pick_task_scx() has a workaround to avoid stalling when the fair class's balance() says yes but pick_task() says no. The workaround was incorrectly deciding to keep the prev taks running if the task is on SCX even when the task is in a sleeping state, which can lead to several confusing failure modes. Fix it by testing the prev task is currently queued on SCX instead.
----------------------------------------------------------------
Tejun Heo (1):
sched_ext: Fix pick_task_scx() picking non-queued tasks when it's called without balance()
kernel/sched/ext.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
Signature · 1 line
tejun
The pull request you sent on Wed, 26 Feb 2025 10:56:55 -1000:
The pull request you sent on Wed, 26 Feb 2025 10:56:55 -1000:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git/tags/sched_ext-for-6.14-rc4-fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e6d3c4e535dfffc69cdbad0c12003a8a1e75f88f
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html