dev_pm_qos_c...ints_destroy(9)
π dev_pm_qos_c...ints_destroy(9)
okay so this is a page from the Kernel API Manual β yes, the real one, section 9, kernel-space bestie territory π«Ά β and the name got a little truncated by the terminal, which honestly is so real of it. The function is dev_pm_qos_constraints_destroy, and it's giving very much "cleanup era" energy. Let's get into it β¨
πΈ NAME πΈ
dev_pm_qos_constraints_destroy β the little teardown icon that takes out a device's PM QoS constraints when the device leaves the chat π
π SYNOPSIS π
void dev_pm_qos_constraints_destroy (struct device *dev );
no return value, no drama, it just does the thing and leaves π
π¦ ARGUMENTS π¦
devβ the target device π― like, the one whose constraints are getting destroyed. the main character of this whole operation, lowkey.
β DESCRIPTION β
So here's the tea: this gets called from the device PM subsystem on device removal, and it's all happening under device_pm_lock. π That's the crucial detail β it's not out here freelancing, it's running inside that lock's protective embrace.
Think of it as the goodbye-hug function for a device that's being unplugged from the PM subsystem's life. Not me getting emotional over kernel teardown paths ππ
ngl, if you're poking at this, you're probably deep in drivers/base/power/qos.c already β stay safe in there, it's a whole vibe π
π SEE ALSO π
Kernel file ./drivers/base/power/qos.c, plus the whole friend group:
__dev_pm_qos_flags(9)dev_pm_qos_flags(9)__dev_pm_qos_resume_latency(9)dev_pm_qos_read_value(9)apply_constraint(9)dev_pm_qos_add_request(9)__dev_pm_qos_update_request(9)dev_pm_qos_update_request(9)dev_pm_qos_remove_request(9)dev_pm_qos_add_notifier(9)dev_pm_qos_remove_notifier(9)dev_pm_qos_add_ancestor_request(9)dev_pm_qos_expose_latency_limit(9)dev_pm_qos_hide_latency_limit(9)dev_pm_qos_expose_flags(9)dev_pm_qos_hide_flags(9)dev_pm_qos_update_flags(9)dev_pm_qos_get_user_latency_tolerance(9)dev_pm_qos_update_user_latency_tolerance(9)dev_pm_qos_expose_latency_tolerance(9)dev_pm_qos_hide_latency_tolerance(9)
okay that's literally the whole page, you ate that bestie πβ¨
sign-off szn π this one comes from./drivers/base/power, dated October 2026, and it lives atdev_pm_qos_c...ints_destroy(9)β yes the truncated name is canon, 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