]> Gentwo Git Trees - linux/.git/commit
sched_ext: Move sanity check and dsq_mod_nr() into task_unlink_from_dsq()
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)
commit6557133ecd59b6d9922d5709b432b2de3a4d1316
tree683b82448f2d674766ba595c05eae38c83072008
parent1389f49098981a525ca9fb752b86a4ae874125a8
sched_ext: Move sanity check and dsq_mod_nr() into task_unlink_from_dsq()

All task_unlink_from_dsq() users are doing dsq_mod_nr(dsq, -1). Move it into
task_unlink_from_dsq(). Also move sanity check into it.

No functional changes intended.

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