]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Make scx_exit() and scx_vexit() return bool
authorTejun Heo <tj@kernel.org>
Tue, 11 Nov 2025 19:18:09 +0000 (09:18 -1000)
committerTejun Heo <tj@kernel.org>
Wed, 12 Nov 2025 16:43:44 +0000 (06:43 -1000)
commitf2fe382e1f9e568e6702f4ee416de587e9d6b671
tree624a42d7e19a107551717d1e27231679035a836f
parent5ebec443fb96ac305baaae51efe998194f3c87c4
sched_ext: Make scx_exit() and scx_vexit() return bool

Make scx_exit() and scx_vexit() return bool indicating whether the calling
thread successfully claimed the exit. This will be used by the abort mechanism
added in a later patch.

Reviewed-by: Dan Schatzberg <schatzberg.dan@gmail.com>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Cc: Emil Tsalapatis <etsal@meta.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c