BUILD_PERDEV_HELPER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Okay so welcome to BUILD_PERDEV_HELPER(9) in the Kernel API Manual, bestie πŸ’–. This is the page for BUILD_PERDEV_HELPER β€” the helper to call a CDMM driver callback if the CPU matches. Tiny name, very specific job, we love to see it πŸ’….


✨ SYNOPSIS ✨

BUILD_PERDEV_HELPER (_name );

🌸 ARGUMENTS 🌸

  • _name β€” the name of the CDMM driver callback function. Like, literally the callback function’s name, no cap 🫢.

πŸ’– DESCRIPTION πŸ’–

Okay so here’s the tea: BUILD_PERDEV_HELPER generates a bus_for_each_dev callback function to call a specific CDMM driver callback function for the device if the device’s CPU matches that pointed to by the data argument. Periodt ✨.

This is used for informing drivers for all devices on a given CPU of some event (such as the CPU going online/offline). Honestly? Very β€œgroup chat announcement for one specific CPU” energy πŸ¦‹.

Also important, bestie: it is expected to already be called from the appropriate CPU. That’s the vibe check, so don’t skip it πŸ’….

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/bus/mips_cdmm.c β€” yes, literally right there, go look πŸ‘€.


Okay that’s the whole page, bestie πŸ’– β€” this one’s from ./drivers/bus, dated October 2026, and it’s the BUILD_PERDEV_HELPER(9) page in the Kernel API Manual. Slay and stay kernel-pilled ✨🫢

πŸ“¦ where this page comes from