cpu_latency_...date_request(9)
π cpu_latency_qos_update_request(9) π
okay so bestie, welcome to the kernel API manual β this one's from cpu_latency_...date_request(9), and it's lowkey about tweaking a CPU latency QoS request you already made. yes, "update", not "create". we're editing, not starting fresh β¨
β¨ NAME β¨
cpu_latency_qos_update_request β Modify existing CPU latency QoS request.
like, the request is already there, and you're giving it a glow-up. no cap π«Ά
πΈ SYNOPSIS πΈ
void cpu_latency_qos_update_request (struct pm_qos_request *req , s32
new_value );
that's it, that's the whole vibe check. takes a pointer and a number, returns void β it's giving "I do the work, I don't report back" main character energy π
π ARGUMENTS π
reqβ the QoS request to update. bestie, this is the one you're modifying, so it better already exist πnew_valueβ the new requested constraint value. it's ans32, and it's literally the new number you want the request to hold β¨
π¦ DESCRIPTION π¦
so here's the tea: you use new_value to update the QoS request represented by req in the CPU latency QoS list, along with updating the effective constraint value for that list. π₯
both things happen β the request itself gets the new value, and the list's effective constraint value gets refreshed. one call, two updates, iconic behavior fr fr π
π SEE ALSO π
Kernel file ./kernel/power/qos.c, plus the whole friend group:
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_add_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)
bestie, go read the neighbours too β you'll understand the whole QoS friend group way better, iykyk π§
and that's the page!! sourced from ./kernel/power, dated October 2026 β mwah, slay, periodt πππ¦
π¦ 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