Skip to contentSkip to conversation

sched_ext: Fixes for v6.12-rc7

GIT PULL Merged Tejun Heo 2 participants 2 messages Nov 11, 2024 – Nov 12, 2024

lore
Share & tools
lore

Tejun Heo

author
#0 lore raw

The following changes since commit c31f2ee5cd7da3086eb4fbeef9f3afdc8e01d36b:

sched_ext: Fix enq_last_no_enq_fails selftest (2024-10-25 12:20:29 -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.12-rc7-fixes

for you to fetch changes up to a6250aa251eacaf3ebfcfe152a96a727fd483ecd:

sched_ext: Handle cases where pick_task_scx() is called without preceding balance_scx() (2024-11-09 10:43:55 -1000)

----------------------------------------------------------------
sched_ext: Fixes for v6.12-rc7

- The fair sched class currently has a bug where its balance() returns true telling the sched core that it has tasks to run but then NULL from pick_task(). This makes sched core call sched_ext's pick_task() without preceding balance() which can lead to stalls in partial mode. For now, work around by detecting the condition and forcing the CPU to go through another scheduling cycle.

- Add a missing newline to an error message and fix drgn introspection tool which went out of sync.

----------------------------------------------------------------
Tejun Heo (3):
sched_ext: Add a missing newline at the end of an error message
sched_ext: Update scx_show_state.py to match scx_ops_bypass_depth's new type
sched_ext: Handle cases where pick_task_scx() is called without preceding balance_scx()

 kernel/sched/core.c               | 13 ++++++-----
 kernel/sched/ext.c                | 46 +++++++++++++++++++++++++++------------
 kernel/sched/sched.h              |  5 +++--
 tools/sched_ext/scx_show_state.py |  2 +-
 4 files changed, 44 insertions(+), 22 deletions(-)
Signature · 1 line
tejun
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 11 Nov 2024 07:23:52 -1000:

The pull request you sent on Mon, 11 Nov 2024 07:23:52 -1000:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git/ tags/sched_ext-for-6.12-rc7-fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3022e9d00ebec31ed435ae0844e3f235dba998a9

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html