]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Remove switch_class_scx()
authorTejun Heo <tj@kernel.org>
Wed, 4 Sep 2024 07:54:29 +0000 (21:54 -1000)
committerTejun Heo <tj@kernel.org>
Wed, 4 Sep 2024 07:54:29 +0000 (21:54 -1000)
commitf422316d7466da7724f0662b7e282afbbca78e95
tree8691b89e127c1e705d7093b741bbe8bae9b19f3a
parent65aaf90569ffa283170243576c3982521d6cb193
sched_ext: Remove switch_class_scx()

Now that put_prev_task_scx() is called with @next on task switches, there's
no reason to use sched_class.switch_class(). Rename switch_class_scx() to
switch_class() and call it from put_prev_task_scx().

Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c