Skip to content

Commit c1f56c1

Browse files
Eishun Kondohshun159
Eishun Kondoh
authored andcommitted
sched_ext: Documentation: scx_bpf_dispatch() requires a slice
Signed-off-by: shun159 <[email protected]>
1 parent 8a56f32 commit c1f56c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/scheduler/sched-ext.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ scheduler.
8888
void BPF_STRUCT_OPS(simple_enqueue, struct task_struct *p, u64 enq_flags)
8989
{
9090
if (enq_flags & SCX_ENQ_LOCAL)
91-
scx_bpf_dispatch(p, SCX_DSQ_LOCAL, enq_flags);
91+
scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, enq_flags);
9292
else
93-
scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, enq_flags);
93+
scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags);
9494
}
9595
9696
void BPF_STRUCT_OPS(simple_exit, struct scx_exit_info *ei)

0 commit comments

Comments
 (0)