]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
sched_ext: Rename scx_kfunc_set_sleepable to unlocked and relocate
authorTejun Heo <tj@kernel.org>
Mon, 9 Sep 2024 23:42:47 +0000 (13:42 -1000)
committerTejun Heo <tj@kernel.org>
Mon, 9 Sep 2024 23:42:47 +0000 (13:42 -1000)
commitfdaedba2f96f6755f505c454ca7408930f4fe1bf
treec8fb91f715f2592e831c61aa35bf492bb6dae7c6
parent3ac352797cf02b53ea4a6ca0b958a288eedda514
sched_ext: Rename scx_kfunc_set_sleepable to unlocked and relocate

Sleepables don't need to be in its own kfunc set as each is tagged with
KF_SLEEPABLE. Rename to scx_kfunc_set_unlocked indicating that rq lock is
not held and relocate right above the any set. This will be used to add
kfuncs that are allowed to be called from SYSCALL but not TRACING.

No functional changes intended.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David Vernet <void@manifault.com>
kernel/sched/ext.c