The Linux kernel's extensible scheduler class sched_ext is gaining a new SCX_ENQ_IMMED flag in the upcoming 7.1 release. Developed by Tejun Heo, this flag controls task enqueue behavior by ensuring tasks dispatched with IMMED either run on a CPU immediately or are re-enqueued back to the BPF scheduler — they never linger on a local Dispatch Queue (DSQ) behind other tasks. This enables tighter scheduling latency control and prevents tasks from piling up on local DSQs, while also enabling opportunistic CPU sharing across sub-schedulers. The patch is already in the sched_ext 'for-7.1' branch and is expected to be submitted during next month's Linux 7.1 merge window.

2m read timeFrom phoronix.com
Post cover image

Sort: