sched_ext: Fixes for v6.17-rc7
Tejun Heo
reviewerThe following changes since commit a1eab4d813f7b6e606ed21381b8cfda5c59a87e5:
sched_ext, sched/core: Fix build failure when !FAIR_GROUP_SCHED && EXT_GROUP_SCHED (2025-09-16 23:07:27 -1000)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git tags/sched_ext-for-6.17-rc7-fixes
for you to fetch changes up to 55ed11b181c43d81ce03b50209e4e7c4a14ba099:
sched_ext: idle: Handle migration-disabled tasks in BPF code (2025-09-22 06:24:44 -1000)
----------------------------------------------------------------sched_ext: Fixes for v6.17-rc7
This contains a fix for sched_ext idle CPU selection that likely fixes a substantial performance regression.
The scx_bpf_select_cpu_dfl/and() kfuncs were incorrectly detecting all tasks as migration-disabled when called outside ops.select_cpu(), causing them to always return -EBUSY instead of finding idle CPUs. The fix properly distinguishes between genuinely migration-disabled tasks vs. the current task whose migration is temporarily disabled by BPF execution.
----------------------------------------------------------------
Andrea Righi (1):
sched_ext: idle: Handle migration-disabled tasks in BPF code
kernel/sched/ext_idle.c | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-)
Signature · 1 line
tejun
The pull request you sent on Mon, 22 Sep 2025 06:49:54 -1000:
The pull request you sent on Mon, 22 Sep 2025 06:49:54 -1000:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git tags/sched_ext-for-6.17-rc7-fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cec1e6e5d1ab33403b809f79cd20d6aff124ccfe
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html
Quoted 2 lines · Tejun Heo
sched_ext: Fixes for v6.17-rc7
Oops, and people point out that I have renamed you in the merge commit message due to a messed-up editing error.
As I removed the "es" from the "fixes", I apparently also removed the "Te" from "Tejun".
So now you are officially just "jun Heo". Sorry about that.
Linus
Tejun Heo
reviewerQuoted 11 lines · Linus Torvalds
Quoted 2 lines · Tejun Heo
sched_ext: Fixes for v6.17-rc7Oops, and people point out that I have renamed you in the merge commit message due to a messed-up editing error.
As I removed the "es" from the "fixes", I apparently also removed the "Te" from "Tejun".
So now you are officially just "jun Heo". Sorry about that.
No worries. As long as you don't swap e and o in the last name, it's all good.
Signature · 1 line
tejun
Quoted 3 lines · Tejun Heo
No worries. As long as you don't swap e and o in the last name, it's all good.
It's a perfectly good garden implement, I'll have you know.
But I'm sorry that I have now caused you to have to stand in line at the DMV for hours just to get your new name changed on your driver's license.
Annoying, I know, but it has to be done.
Linus