BUILD_PERDEV_HELPER(9)
π 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 π.
struct mips_cdmm_work_dev(9)mips_cdmm_void_work(9)mips_cdmm_int_work(9)BUILD_PERCPU_HELPER(9)mips_cdmm_driver_register(9)mips_cdmm_driver_unregister(9)struct mips_cdmm_bus(9)mips_cdmm_get_bus(9)mips_cdmm_cur_base(9)mips_cdmm_phys_base(9)mips_cdmm_setup(9)mips_cdmm_early_probe(9)mips_cdmm_release(9)mips_cdmm_bus_discover(9)mips_cdmm_cpu_down_prep(9)mips_cdmm_cpu_online(9)mips_cdmm_init(9)
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
- 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