freq_qos_remove_request(9)
π freq_qos_remove_request π
okay bestie, welcome to the Kernel API Manual page for freq_qos_remove_request(9) β yes that (9) means it's a kernel-internal function, we're in the deep end of the pool now and honestly? iconic. π«Ά
β¨ NAME β¨
freq_qos_remove_request β literally removes a frequency QoS request from its list. that's the whole gig. clean, simple, effective. periodt. π
πΈ SYNOPSIS πΈ
int freq_qos_remove_request (struct freq_qos_request *req );
π¦ ARGUMENTS π¦
reqβ the request you wanna remove. that one. the request in question. say bye π
π DESCRIPTION π
so here's the tea: this function takes the given frequency QoS request and pulls it out of the list of constraints it belongs to. then β and this is the important part, ngl β it recomputes the effective constraint value for that list. like, recalculating the vibe check for the whole group after one member leaves. π₯
and what does it return? glad you asked:
1β the effective constraint value has changed. something moved. slay. β¨0β the effective constraint value has not changed. no notes, nothing shifted. π- a negative error code β on failures. it's giving "it didn't work and it's telling you why". π
no cap, those are the only three flavours of return value. don't go inventing new ones.
π SEE ALSO π
the whole friend group, fr fr β kernel file ./kernel/power/qos.c plus:
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_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_add_notifier(9)freq_qos_remove_notifier(9)
and that's the page, bestie π this little gem lives in ./kernel/power and it's stamped October 2026 β go forth and remove those requests responsibly. mwah. π§ββοΈπ
π¦ 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