sched_ext: Make scx_rq_bypassing() inline
authorAndrea Righi <arighi@nvidia.com>
Wed, 4 Jun 2025 14:33:13 +0000 (16:33 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 9 Jun 2025 16:25:24 +0000 (06:25 -1000)
commite212743bd727c3fcffcd73b6c1d906546ee83805
treeaf63de6a3bb0f2dc9464c8c09a229946dd34b220
parent353656eb84fef8ffece3b1be4345cbacbbb5267f
sched_ext: Make scx_rq_bypassing() inline

scx_rq_bypassing() is used both from ext.c and ext_idle.c, move it to
ext.h as a static inline function.

No functional changes.

Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c
kernel/sched/ext.h