[GIT PULL] sched_ext: Fixes for v6.12-rc7

From: Tejun Heo
Date: Mon Nov 11 2024 - 12:24:00 EST


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(-)

--
tejun