scx-upstream/scheds/include
Tejun Heo 552b75a9c7 scx: Build fix after kernel update
In the latest kernel, sched_ext API has changed in two areas:

- ops.prep_enable/cancel_enable/enable/disable() replaced with
  ops.init_task/enable/disable/exit_task().

- scx_bpf_dispatch() can now be called from ops.select_cpu(). Also,
  SCX_ENQ_LOCAL flag is removed. Instead, users can call
  scx_bpf_select_cpu_dfl() from ops.select_cpu() and use the @is_idle out
  param value to determine whether to dispatch directly.

This commit updates all schedules so that they build.

- Init functions renamed / merged / split.

- ops.select_cpu() is added to several schedulers and local direct
  disptching logic is moved there.

This is the minimum update which is need to make the schedulers build and
work. It needs further update to e.g. move vtime udpates to ops.enable().
2024-01-08 14:48:24 -10:00
..
bpf-compat/gnu build: Add dummy gnu/stubs.h to fix build on systems without 32bit glibc-dev 2023-12-02 13:25:02 -10:00
scx scx: Build fix after kernel update 2024-01-08 14:48:24 -10:00
vmlinux scx: Build fix after kernel update 2024-01-08 14:48:24 -10:00