cpu_latency_qos_add_request(9)
πΈ cpu_latency_qos_add_request(9) πΈ
okay bestie, welcome to the Kernel API Manual page for cpu_latency_qos_add_request(9) β yes that's a whole mouthful and yes you're gonna slay it π
β¨ NAME β¨
cpu_latency_qos_add_request β adds a brand new CPU latency QoS request, no cap π
π¦ SYNOPSIS π¦
void cpu_latency_qos_add_request (struct pm_qos_request *req , s32 value );
like, that's the whole thing. it's giving "small but mighty" energy fr fr β¨
π ARGUMENTS π
reqβ a pointer to a handle you already allocated ahead of time (preallocated, bestie, you bring the memory) π«Άvalueβ the constraint value you're requesting. that's the number, the vibe, the whole point π
π DESCRIPTION π
so here's the tea β β you take that value and use it to initialize the request handle that req points at. then the function inserts that handle as a new entry into the CPU latency QoS list, and recomputes the effective QoS constraint for that whole list. iconic behavior, honestly π₯
and like β callers need to save the handle for later. that handle is your main character, because you'll need it again when you want to update or remove the QoS request it represents. don't lose it. literally don't π
π§ SEE ALSO π§
kernel file ./kernel/power/qos.c and all these besties:
pm_qos_read_value(9)pm_qos_update_target(9)pm_qos_flags_remove_req(9)pm_qos_update_flags(9)cpu_latency_qos_limit(9)cpu_latency_qos_request_active(9)cpu_latency_qos_update_request(9)cpu_latency_qos_remove_request(9)cpu_wakeup_latency_qos_limit(9)freq_constraints_init(9)freq_qos_read_value(9)freq_qos_apply(9)freq_qos_add_request(9)freq_qos_update_request(9)freq_qos_remove_request(9)freq_qos_add_notifier(9)freq_qos_remove_notifier(9)
π one (1) function, seventeen (17) SEE ALSO entries. the manpage said "go read the whole kernel" and honestly? respect.
and that's the page!! this one lives under ./kernel/power, dropped October 2026 β go forth and request your QoS, queen ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms