diff options
| author | Tejun Heo <tj@kernel.org> | 2026-03-06 20:58:03 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-06 20:58:03 +0300 |
| commit | 073d4f0667b064ed05c19e44d840b0d4cd49a251 (patch) | |
| tree | f13ccce9eceb9eb11c84e1387ba465a6238150fb /include/linux/memory | |
| parent | bb4d9fd551588165dc918aa2f2108b939e3367db (diff) | |
| download | linux-073d4f0667b064ed05c19e44d840b0d4cd49a251.tar.xz | |
sched_ext: Refactor task init/exit helpers
- Add the @sch parameter to scx_init_task() and drop @tg as it can be
obtained from @p. Separate out __scx_init_task() which does everything
except for the task state transition.
- Add the @sch parameter to scx_enable_task(). Separate out
__scx_enable_task() which does everything except for the task state
transition.
- Add the @sch parameter to scx_disable_task().
- Rename scx_exit_task() to scx_disable_and_exit_task() and separate out
__scx_disable_and_exit_task() which does everything except for the task
state transition.
While some task state transitions are relocated, no meaningful behavior
changes are expected.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'include/linux/memory')
0 files changed, 0 insertions, 0 deletions
