scx/rust
Andrea Righi 5cf113f058 scx_rustland_core: provide DispatchedTask API methods
Provide distinct methods to set the target CPU and the per-task time
slice to dispatched tasks.

Moreover, also provide a constructor to create a DispatchedTask from a
QueuedTask (this allows to automatically bounce a task from the
scheduler to the BPF dispatcher without having to take care of setting
the individual task's attributes).

This also allows to make most of the attributes of DispatchedTask
private, especially it allows to hide cpumask_cnt, that should be only
used internally between the BPF and the user-space component.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2024-03-03 15:49:37 +01:00
..
scx_rustland_core scx_rustland_core: provide DispatchedTask API methods 2024-03-03 15:49:37 +01:00
scx_utils Add libbpf as a submodule 2024-03-01 12:39:35 -08:00
meson.build rust: introduce scx_rustland_core crate 2024-02-28 17:49:44 +01:00