Commit 9b87fdc9af2f for kernel

commit 9b87fdc9af2fbfcdb5c24a64139685ef80f6573f
Merge: 6fb20c02710d a9e3760b0838
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Tue Sep 15 11:57:51 2026 -0700

    Merge tag 'sched_ext-for-7.3-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext

    Pull sched_ext fixes from Tejun Heo:

     - An error raised by a BPF program before the scheduler finished
       enabling was consumed by the disable path's pre-enable shortcut,
       leaving a running scheduler that couldn't be disabled and was later
       freed while in use.

     - Two compat kfuncs dereferenced a NULL scheduler when handed an exited
       or idle task, oopsing the kernel.

     - Keep-running decisions in the dispatch path used the root scheduler's
       flags for tasks belonging to a sub-scheduler, causing warnings and
       stalls.

     - Schedulers with their own CPU ID mapping had no way to learn which
       IDs are online. Add a kernel-maintained online mask to plug the hole.

     - Cgroup idle state: the initial cpu.idle state wasn't passed on cgroup
       init and same-value rewrites delivered spurious callbacks.

     - Example scheduler fixes for a reenqueue loop on attach, placements on
       CPUs without effective grants, stalled partition work and stale idle
       tracking.

    * tag 'sched_ext-for-7.3-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext:
      sched_ext: Maintain an online cid mask in the scheduler arena
      sched_ext: scx_qmap: Restore unused idle claims from ops.dispatch()
      sched_ext: Close the pre-enable ops error claim window
      sched_ext: scx_qmap: Fix pending partition work handoff
      sched_ext: scx_qmap: Place only on cids whose caps are in effect
      sched_ext: scx_qmap: Do not add IMMED to rescue inserts
      sched_ext: Use @prev's scheduler for the keep decisions in dispatch_one()
      sched_ext: Rename sch to root_sch in dispatch_one()
      sched_ext: Fix NULL sched deref in kfunc sub-sched error paths
      sched_ext: Don't deliver duplicate ops.cgroup_set_idle() for same value
      sched_ext: Pass the initial cpu.idle state in scx_cgroup_init_args