]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: Open-code task_linked_on_dsq()
authorTejun Heo <tj@kernel.org>
Fri, 12 Jul 2024 18:20:32 +0000 (08:20 -1000)
committerTejun Heo <tj@kernel.org>
Fri, 12 Jul 2024 18:20:32 +0000 (08:20 -1000)
commitd6a05910d25e1518cb34d9f79b2313587890c5e0
tree5afa4a24de85e41cffcc7d5fb20629454ed5bb89
parentfc283116d008654c8dd6ccb222372cf011d3bb80
sched_ext: Open-code task_linked_on_dsq()

task_linked_on_dsq() exists as a helper because it used to test both the
rbtree and list nodes. It now only tests the list node and the list node
will soon be used for something else too. The helper doesn't improve
anything materially and the naming will become confusing. Open-code the list
node testing and remove task_linked_on_dsq()

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