scx_bypass_dsp_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ scx_bypass_dsp_enabled(9) β€” Kernel API Manual 🌈

✨ NAME ✨

scx_bypass_dsp_enabled β€” bestie, this one checks if the bypass dispatch path is enabled πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

bool scx_bypass_dsp_enabled (struct scx_sched *sch );

πŸ’– ARGUMENTS πŸ’–

  • sch β€” the scheduler to check, obviously πŸ‘‘

🌸 DESCRIPTION 🌸

Okay so when a descendant scheduler enters bypass mode 😭, the bypassed tasks get scheduled by the nearest non-bypassing ancestor β€” or by the root scheduler if literally all the ancestors are bypassing. In the former case, that ancestor is not itself bypassing, but its bypass DSQs are gonna be populated with bypassed tasks from descendants. So its bypass dispatch path must be active, even though its own bypass_depth remains zero. No cap 🫢

This function checks bypass_dsp_enable_depth, which is managed separately from bypass_depth to enable this decoupling. It's giving separation of concerns, fr fr ✨ See enable_bypass_dsp and scx_disable_bypass_dsp.


πŸ¦‹ SEE ALSO πŸ¦‹


source: ./kernel/sched/ext Β· date: October 2026 Β· manual: scx_bypass_dsp_enabled(9) β€” okay bye bestie, go read the source πŸ’…βœ¨

πŸ“¦ where this page comes from