KFunc scx_bpf_dsq_move_set_slice
This function overrides slice when moving between DSQs.
Definition
Override the slice of the next task that will be moved from it__iter
using scx_bpf_dsq_move
or scx_bpf_dsq_move_vtime
. If this function is not called, the previous slice duration is kept.
Parameters
it__iter
: DSQ iterator in progress
slice
: duration the moved task can run for in nanoseconds
Signature
void scx_bpf_dsq_move_set_slice(struct bpf_iter_scx_dsq *it__iter, u64 slice)
Usage
Docs could be improved
This part of the docs is incomplete, contributions are very welcome
Program types
The following program types can make use of this kfunc:
Example
Docs could be improved
This part of the docs is incomplete, contributions are very welcome