proc_thermal...ntr_callback(9)
π proc_thermal_power_floor_intr_callback(9)
okay so this is a page from the Kernel API Manual, and bestie, it's a short one β but it's kind of a big deal if you're into thermal stuff. it's called proc_thermal_power_floor_intr_callback, and yes the header up top is truncated as proc_thermal...ntr_callback(9) because apparently even kernel docs need a little β¨mysteryβ¨. anyway. let's get into it π«Ά
πΈ NAME πΈ
proc_thermal_power_floor_intr_callback β process power floor notification. that's it, that's the whole vibe. it's the function that handles the power floor interrupt notification, and ngl the name is a whole mouthful so maybe just call it "the power floor callback" in your head π
β¨ SYNOPSIS β¨
void proc_thermal_power_floor_intr_callback (struct pci_dev *pdev ,
struct proc_thermal_device *proc_priv );
it returns void, so like... no return value, no drama, no receipts. it just does the thing and leaves π
π¦ ARGUMENTS π¦
pdevβ the PCI device instance. like, which device are we even talking about, you know? that's this one, bestie πproc_privβ the Processor thermal device instance. the actual thermal-device business object, the main character of this whole operation π
π₯ DESCRIPTION π₯
okay so here's what it does, and honestly it's giving "quietly competent":
it checks if the power floor interrupt is active. and if it is active β this is the important part β it sends a notification to user space for the attribute "power_limits". so then the user can read that attribute and take action. periodt. that's the whole flow π§
like, the kernel isn't gonna make decisions for you, it's just gonna be like "hey bestie, go look at power_limits, something's up" and then it's your turn β¨
π CONTEXT π
called from interrupt thread context. so keep it quick and don't block, iykyk π
β RETURN β
None. literally nothing. void energy. it does its job and dips π
π SEE ALSO π
- Kernel file:
./drivers/thermal/intel/int340x_thermal/processor_thermal_power_floor.cβ go read the source, it's right there π proc_thermal_check_power_floor_intr(9)β the sibling function, go say hi π
lowkey a reminder: this is the power floor callback, not the power ceiling one, so don't mix them up bestie π
and that's the page! π« it lives at ./drivers/thermal/intel/int340... (yes, truncated like the header, we love consistency), dated October 2026, and it's proc_thermal...ntr_callback(9) all the way down β slay, go read your kernel source, 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