KFunc scx_bpf_dsq_move_set_vtime
This function overrides vtime
when moving between DSQs.
Definition
Override the vtime
of the next task that will be moved from it__iter
using scx_bpf_dsq_move_vtime
. If this function is not called, the previous slice vtime is kept. If scx_bpf_dsq_move
is used to dispatch the next task, the override is ignored and cleared.
Parameters
it__iter
: DSQ iterator in progress
vtime
: task's ordering inside the vtime-sorted queue of the target DSQ
Signature
void scx_bpf_dsq_move_set_vtime(struct bpf_iter_scx_dsq *it__iter, u64 vtime)
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