freq_qos_apply(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… freq_qos_apply(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so this is freq_qos_apply(9) from the Kernel API Manual, and it's literally the little helper that handles your frequency QoS requests β€” adding them, tweaking them, yeeting them. let's get into it ✨


🌸 NAME 🌸

freq_qos_apply β€” add/modify/remove frequency QoS request. that's the whole vibe. she does three things and she does them well πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int freq_qos_apply(struct freq_qos_request *req, enum pm_qos_req_action action, s32 value);

it returns an int, she takes three things, and yes the parameter list is a little long β€” main character energy, she's allowed 🫢


⭐ ARGUMENTS ⭐

  • req β€” the constraint request you're applying. this is the request, the one getting the glow-up (or the goodbye) πŸ’–
  • action β€” the action to perform. your options are add / update / remove, so basically it's giving "make it exist, change it up, or take it out back" 😭
  • value β€” the value to assign to the QoS request. the actual number going in πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

okay so listen. this one is only meant to be called from inside pm_qos β€” not from drivers. like. drivers, do not. i am begging πŸ™ˆ that's the entire warning, it's short but she means it.

bestie if you're writing a driver and you're about to call this β€” no you're not πŸ’€ that's not your lane.

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, plus the file they all live in: ./kernel/power/qos.c 🧚


and that's the page!! this icon comes to you courtesy of ./kernel/power, dated October 2026 β€” mwah, love u, read ur QoS docs πŸ’œπŸŒˆβ­

πŸ“¦ where this page comes from