linux/kernel/sched/ext
Tejun Heo ee7aece608 sched_ext: Report scx_link_sched() failures inline
scx_link_sched() carries each failure out of the locked section through
err_msg and ret because scx_error() used to take scx_sched_lock and couldn't
be called under it. That restriction is gone, so report each failure at the
site it's detected and return directly. The scx_error() here claims the exit
on the sched being linked, which has no descendants yet, and the locked
propagation walk is deferred, so nothing reacquires scx_sched_lock inline.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
2026-07-27 11:20:32 -10:00
..
arena.c sched_ext: Convert scx_arena_grow() to use scx_arena_to_kaddr() 2026-06-25 10:16:30 -10:00
arena.h
cid.c sched_ext: Build the cid tables privately and publish them with RCU 2026-07-21 22:27:27 -10:00
cid.h sched_ext: Build the cid tables privately and publish them with RCU 2026-07-21 22:27:27 -10:00
ext.c sched_ext: Report scx_link_sched() failures inline 2026-07-27 11:20:32 -10:00
ext.h
idle.c sched_ext: Resolve most remaining scx_root accesses 2026-07-25 10:33:17 -10:00
idle.h
inlines.h sched_ext: Gate sub_dispatch_prev with CONFIG_EXT_SUB_SCHED 2026-07-15 13:37:59 -10:00
internal.h sched_ext: Report NMI kicks with scx_error() 2026-07-27 11:20:32 -10:00
sub.c sched_ext: Format bstr exit messages after claiming the exit 2026-07-27 11:20:32 -10:00
sub.h sched_ext: Add scx_cgroup_sched() for cgrp->scx_sched reads 2026-07-25 10:33:04 -10:00
types.h sched_ext: Bound per-task reenqueues and eject the owning scheduler 2026-07-26 11:12:19 -10:00