On Wed, Feb 25, 2026 at 10:51:20AM +0100, Gabriele Monaco wrote: > When a sched_ext scheduler is loaded, depending on the configuration, it > can handle also fair tasks, however it isn't trivial to understand if a > certain task is currently handled by fair or ext outside of scheduler > code. This can be a problem when writing verification or observability > tools like RV monitors. > > Export a task_is_scx_enabled() to allow quick classification by using > the scx state SCX_TASK_ENABLED.
This test already exists - task_on_scx(). Please feel free to move that out to include/linux/sched/ext.h. Thanks. -- tejun
