mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-24 20:00:22 +00:00
Merge pull request #663 from vax-r/bpfland_fix
scx_bpfland: Remove the usage of cast_mask in bpfland_enqueue
This commit is contained in:
commit
897977bbc1
@ -847,7 +847,7 @@ void BPF_STRUCT_OPS(bpfland_enqueue, struct task_struct *p, u64 enq_flags)
|
|||||||
* task, wake them up to see whether they'd be able to steal the just
|
* task, wake them up to see whether they'd be able to steal the just
|
||||||
* queued task.
|
* queued task.
|
||||||
*/
|
*/
|
||||||
cpu = scx_bpf_pick_idle_cpu(cast_mask(p->cpus_ptr), 0);
|
cpu = scx_bpf_pick_idle_cpu(p->cpus_ptr, 0);
|
||||||
if (cpu >= 0)
|
if (cpu >= 0)
|
||||||
scx_bpf_kick_cpu(cpu, 0);
|
scx_bpf_kick_cpu(cpu, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user