Skip to content

Commit a1ad178

Browse files
authored
Merge pull request raspberrypi#15 from shun159/fix-docs
sched_ext: Documentation: scx_bpf_dispatch() requires a slice
2 parents 8a56f32 + c1f56c1 commit a1ad178

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)