]> git.ipfire.org Git - thirdparty/linux.git/commit
sched_ext: Make scx_locked_rq() inline
authorAndrea Righi <arighi@nvidia.com>
Thu, 5 Jun 2025 09:30:26 +0000 (11:30 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 9 Jun 2025 16:25:35 +0000 (06:25 -1000)
commit086ed90a6453873d4c5d51a18c26b3548af4fa24
tree9a40aed67a473df0b5f0021447a5bc43f0dd6b3f
parente212743bd727c3fcffcd73b6c1d906546ee83805
sched_ext: Make scx_locked_rq() inline

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

No functional changes.

v2: Rename locked_rq to scx_locked_rq_state, expose it and make
    scx_locked_rq() inline, as suggested by Tejun.

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