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:
Andrea Righi 2024-09-21 22:15:11 +02:00 committed by GitHub
commit 897977bbc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
* 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)
scx_bpf_kick_cpu(cpu, 0);
}