scx_bpf_reenqueue_local(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

scx_bpf_reenqueue_local β€” re-enqueue tasks on a local DSQ. This is a Kernel API Manual page, bestie, so pull up your iced coffee and let's get into it. ✨

✨ SYNOPSIS ✨

__bpf_kfunc u32 scx_bpf_reenqueue_local (const struct bpf_prog_aux *aux
);

πŸŽ€ ARGUMENTS πŸŽ€

  • aux β€” the implicit BPF argument that lets you access bpf_prog_aux, and it's hidden from BPF progs. That's the whole arg, bestie. πŸ’…

πŸ’– DESCRIPTION πŸ’–

Okay so picture this: scx_bpf_reenqueue_local iterates over all the tasks currently enqueued on the local DSQ of the caller's CPU, and re-enqueues them in the BPF scheduler. It returns the number of processed tasks. Slay. 🫢

⚠️ It can only be called from ops.cpu_release. That's not a suggestion, bestie β€” it's the rule. No cap. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file is ./kernel/sched/ext/ext.c. Go give these cuties a look too:


That's the whole page, bestie. Source is ./kernel/sched/ext, dated October 2026, and it's scx_bpf_reenqueue_local(9) β€” periodt. πŸŽ€πŸ’œ

πŸ“¦ where this page comes from